Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experiment1中的代码在可视化losses时报错 #491

Open
reflexc opened this issue Nov 6, 2024 · 1 comment
Open

experiment1中的代码在可视化losses时报错 #491

reflexc opened this issue Nov 6, 2024 · 1 comment

Comments

@reflexc
Copy link

reflexc commented Nov 6, 2024

losses = model.train(dataset=dataset, opt="LBFGS", steps=50,device=device)
运行后报TypeError: train() got an unexpected keyword argument 'dataset'
在将dataset=dataset改成dataset后继续报TypeError: train() got an unexpected keyword argument 'opt'

@huaho-953
Copy link

train改为fit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants