-
Notifications
You must be signed in to change notification settings - Fork 301
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
t7 file open fails #8
Comments
Yes, that's correct. As I said in issue #7, I have 8Gb RAM and Ubuntu 16.04 TLS (xenial). The exact line where error appears is in line 23 of colorize.lua file:
|
Discarding model corruption and lack of RAM, the only thing I can think of is incompatibility between the torch version you guys are using and the torch version the model is saved in. You have done an install following the instructions on http://torch.ch/docs/getting-started.html recently right? |
Yes, I installed it yesterday following those instructions. The trace (if helpful) is this:
|
Same here - I installed Torch from the Torch page when, in issue number 6, you indicated in your first reply that it should be done, so the install is very fresh. Perhaps a minimal test file or files that would tell you something? It seems notable that the load of the data is so fragile. Perhaps that indicates something else that the lack of fine-grained diagnostics in Lua and Torch hides that might be remediated with some test files? |
The error indicates that it is failing to load, but it doesn't give any details on why. |
Nope, little endian in my case. |
Same here. Dual 4-core Xeon. |
I have converted it to ascii. Try download the model at http://hi.cs.waseda.ac.jp/~esimo//files/colornet_ascii.t7.bz2 , uncompressing it (bunzip colornet_ascii.t7.bz2) and running (in torch, "th" command)
|
It seems to work, but always breaks for my example images (1000x800) though. Is there anything I can do to make it work? Maybe using GPU instead of pure CPU could do the job? |
If you want to do such large images, I recommend downscaling the input, running it through the model, then upscaling the output (chrominance) to match the original image (luminance) before fusing them together, as the current model was trained with rather small patches (dataset restriction). This will both give better results and take less time/memory than running directly on the large images. GPU is only faster than CPU, and usually runs out of memory. |
Colornet file sha1sum and md5sum are both correct as detailed in issue 7. File size is correct. Problem persists where the load fails early in the script before anything else really happens. Member "franverona" is also seeing this error with a later Ubuntu, hopefully will post here as well.
The text was updated successfully, but these errors were encountered: