We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In train.py, I see the lines:
train.py
model = model().to(accelerator.device)
This did not work on my mac, because model() requires an argument since it calls the forward method. The following line works correctly on the mac:
model()
forward
model = model.to(accelerator.device)
I do not understand why the code worked at all. Thanks.
The text was updated successfully, but these errors were encountered:
@erlebach i don't know what code you're running?
Sorry, something went wrong.
kyegomez
No branches or pull requests
In
train.py
, I see the lines:This did not work on my mac, because
model()
requires an argument since it calls theforward
method.The following line works correctly on the mac:
I do not understand why the code worked at all. Thanks.
Upvote & Fund
The text was updated successfully, but these errors were encountered: