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

PyTorch 1.2+ Not Supported #5

Open
3 tasks
fab-jul opened this issue Aug 13, 2019 · 8 comments
Open
3 tasks

PyTorch 1.2+ Not Supported #5

fab-jul opened this issue Aug 13, 2019 · 8 comments

Comments

@fab-jul
Copy link
Owner

fab-jul commented Aug 13, 2019

Will add here what I find. For now:

  • "Comparison operations (lt (<), le (<=), gt (>), ge (>=), eq (==), ne, (!=) ) return dtype has changed from torch.uint8 to torch.bool": This breaks logistic_mixture.py.
  • "sum(Tensor) (python built-in) does not upcast dtype like torch.sum" → Check for this in code.
  • "Tensorboard is no Longer Considered Experimental" → should use built in Tensorboard
@fab-jul
Copy link
Owner Author

fab-jul commented Nov 7, 2019

AT_CHECK is deprecated, use TORCH_CHECK.

@fab-jul fab-jul changed the title PyTorch 1.2 Not Supported PyTorch 1.2+ Not Supported Feb 10, 2020
@CaiShilv
Copy link

Is there any hope of training on Pytorch1.7? My video card is a series 30

@fab-jul
Copy link
Owner Author

fab-jul commented Dec 26, 2020

Probably easier to just create an environment with PyTorch 1.1, or is this not possible?

@CaiShilv
Copy link

CaiShilv commented Jan 12, 2021

I successfully coded and decoded in pytorch1.7, and the weight trained in pytorch1.7 appeared noise in the images after encoding and decoding.The weight trained on pytorch1.1 is no problem after encoding and decoding with pytorch1.7. Do you have any suggestions for me to find the problem? Thank you very much.

@umfengxx
Copy link

I successfully coded and decoded in pytorch1.7, and the weight trained in pytorch1.7 appeared noise in the images after encoding and decoding.The weight trained on pytorch1.1 is no problem after encoding and decoding with pytorch1.7. Do you have any suggestions for me to find the problem? Thank you very much.

It seems I encountered same problems with you, I have to use pytorch 1.7 with RTX 3090. The decoded PNG files seems to be noisy.
Do you have any solution to this?
000000000802
000000000802

@CaiShilv
Copy link

It seems I encountered same problems with you, I have to use pytorch 1.7 with RTX 3090. The decoded PNG files seems to be noisy. Do you have any solution to this?

I tried to find it but couldn't find it. There is probably a problem with the weights saved during training, because it is correct to run forward images on Pytorch1.7 using the weights published by the author.

@umfengxx
Copy link

I successfully coded and decoded in pytorch1.7, and the weight trained in pytorch1.7 appeared noise in the images after encoding and decoding.The weight trained on pytorch1.1 is no problem after encoding and decoding with pytorch1.7. Do you have any suggestions for me to find the problem? Thank you very much.

It seems I encountered same problems with you, I have to use pytorch 1.7 with RTX 3090. The decoded PNG files seems to be noisy. Do you have any solution to this? 000000000802 000000000802

@fab-jul Please Dr. Fabian, Would you please give some comments how to debug this problem(noisy decoded images)?
Should it be a problem with torchac, the encoder/decoder part, or save/restore part?
Thanks a lot.

@umfengxx
Copy link

It seems I encountered same problems with you, I have to use pytorch 1.7 with RTX 3090. The decoded PNG files seems to be noisy. Do you have any solution to this?

I tried to find it but couldn't find it. There is probably a problem with the weights saved during training, because it is correct to run forward images on Pytorch1.7 using the weights published by the author.

I made some experiments between 2 servers, A with pytorch 1.1, RTX 2060, B with pytroch 1.7, RTX 3090.
model A generated from server A
model B generated from server B using same source code with A

model A can be used to encoding/decoding in both server A and B.
model B can not perform encoding/decoding, even in server B, the decoded images are noisy.

I tried to downgrade pytorch to 1.1 in server B, but problem still not solved.
I have no idea how to debug this problem anymore, so there is no hope to run this code in 3090 GPU?

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

3 participants