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

weird results with pretrained models #86

Open
ahmedsalaheldin opened this issue Apr 17, 2018 · 10 comments
Open

weird results with pretrained models #86

ahmedsalaheldin opened this issue Apr 17, 2018 · 10 comments

Comments

@ahmedsalaheldin
Copy link

I can't reproduce the results even with the pretrained models. I get similar results for all data sets on gpu and cpu. A screen shot of the results below.

screenshot-2018-4-17 screenshot

@junyanz
Copy link
Owner

junyanz commented Apr 18, 2018

See this two posts 1 and 2 for solutions.
Also check out our PyTorch version, which is more stable and still under active development.

@ahmedsalaheldin
Copy link
Author

reinstalling torch didn't make a difference for me. I'll try the Pytorch version, thanks.

@happsky
Copy link

happsky commented May 23, 2018

I also meet the same problem, @ahmedsalaheldin did you solve it?

@junyanz
Copy link
Owner

junyanz commented May 23, 2018

@happsky and @ahmedsalaheldin Could you report your CUDA and Torch version?

@ahmedsalaheldin
Copy link
Author

ahmedsalaheldin commented May 24, 2018

@happsky no I moved to the pytorch implementation as suggested and that works fine for me.
@junyanz Cuda 9.0 . I'm not aware that torch keeps a version system.
edit:
torch commit: commit 0219027e6c4644a0ba5c5bf137c989a0a8c9e01b

@happsky
Copy link

happsky commented May 24, 2018

@junyanz Cuda 8.0 and torch version is commit 0219027e6c4644a0ba5c5bf137c989a0a8c9e01b. @ahmedsalaheldin did you find any pretrained pytorch model for style tranfer?

@taesungp
Copy link
Collaborator

Hello,
I did a fresh install of the newest torch version 0219027e6c4644a0ba5c5bf137c989a0a8c9e01b, and the running the pretrained model produced fine results.
image

I have CUDA 9.0 and libcudnn.so.7.1.4. There were a few glitches when I installed Torch. I had to install with export TORCH_NVCC_FLAGS="-D__CUDA_NO_HALF_OPERATORS__" that disabled half-precision operations. I also followed this link to run Torch with cudnn v7.

Unfortunately, I could not replicate the problem... I would appreciate a lot if someone who had the same problem could share a fix.

@happsky
Copy link

happsky commented May 25, 2018

@taesung89 what's you Lua version, 5.1 or 5.2?

@ahmedsalaheldin
Copy link
Author

@happsky I trained the pytorch model myself. training the torch model gave me weird results too which is why I tried the pretrained models
P.S I tried the torch version with all lua versions

@happsky
Copy link

happsky commented May 25, 2018

@ahmedsalaheldin may you share the pytorch pre-trained models?

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

4 participants