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

Fix AttributeError while loading weights and poor colorization results if cuda is disabled #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

thelastlin
Copy link

@thelastlin thelastlin commented Aug 5, 2020

arg with: --gpu_ids -1

Tested on colab.

@thelastlin
Copy link
Author

Fix: poor colorizing results by using pre-trained weights if cuda is disabled.

@jerrymatjila jerrymatjila mentioned this pull request Aug 31, 2020
@thelastlin thelastlin changed the title Fix AttributeError while loading weights if cuda is disabled Fix AttributeError while loading weights and poor colorization results if cuda is disabled Nov 1, 2020
@delldu
Copy link

delldu commented Nov 25, 2020

This patch just resolve model loading, "CPU gray" stands there, not change any more.

@thelastlin
Copy link
Author

This patch just resolve model loading, "CPU gray" stands there, not change any more.

I've tested on both my laptop and Google CoLab by using pretrained weight and can't reproduce this problem.
Could you tell me about weights and options you use on testing?

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

Successfully merging this pull request may close these issues.

2 participants