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

Error #13

Open
mohammadian-amin opened this issue May 12, 2021 · 8 comments
Open

Error #13

mohammadian-amin opened this issue May 12, 2021 · 8 comments

Comments

@mohammadian-amin
Copy link

mohammadian-amin commented May 12, 2021

Hi

thanks for codes sharing !

I installed requirements and run python train.py

but I have bellow error

RuntimeError: result type Float can't be cast to the desired output type Byte

image

Please advise me!

@fchinasso
Copy link

Same problem here

3 similar comments
@yuhongjiu8888
Copy link

Same problem here

@revacosmic1
Copy link

Same problem here

@skarlett992
Copy link

Same problem here

@HuangYuKaiLI1031
Copy link

Hi

thanks for codes sharing !

I installed requirements and run python train.py

but I have bellow error

RuntimeError: result type Float can't be cast to the desired output type Byte

image

Please advise me!

You should upgrade the pytorch

@Rachelwrx
Copy link

Same problem here. but I have upgrade my Pytorch version to 1.9.0

@SunHaixin0324
Copy link

image
I think we can reverse the original code

@bunnykek
Copy link

image I think we can reverse the original code

Yeah it works after it. But you also have to change new method to reshape.

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

9 participants