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

Deprecated paramater #4

Open
GiuseppeLeviBo opened this issue Jun 7, 2023 · 0 comments
Open

Deprecated paramater #4

GiuseppeLeviBo opened this issue Jun 7, 2023 · 0 comments

Comments

@GiuseppeLeviBo
Copy link

Hi,
I'm testing your SinGAN implementation with PyTorch 2.01 (using the pytorch/pytorch:latest docker image) and seems working nicely.
The is only a Warning

/opt/conda/lib/python3.10/site-packages/torch/optim/lr_scheduler.py:152: UserWarning: The epoch parameter in `scheduler.step()` was not necessary and is being deprecated where possible. Please use `scheduler.step()` to step the scheduler. During the deprecation, if epoch is different from None, the closed form is used instead of the new chainable form, where available. Please open an issue if you are unable to replicate your use case: https://github.com/pytorch/pytorch/issues/new/choose.
  warnings.warn(EPOCH_DEPRECATION_WARNING, UserWarning)

is not clear to me if it refers to your code or something internal to Torch itself but I think that you would be interested knowing.

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

1 participant