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

Out of range: Read less bytes than requested #2

Closed
dongdu3 opened this issue Jun 11, 2017 · 3 comments
Closed

Out of range: Read less bytes than requested #2

dongdu3 opened this issue Jun 11, 2017 · 3 comments

Comments

@dongdu3
Copy link

dongdu3 commented Jun 11, 2017

Hello,

This work is very interesting! However, when I run the code ("python application.py"), it gets some errors like "Out of range: Read less bytes than requested", caused by "model = sgan.Model("params/sgan_model.ckpt")". Is the params model given right?

Thanks.

@maxorange
Copy link
Owner

Hi,

The model path is right. Are there three files (sgan_model.ckpt.data-00000-of-00001, sgan_model.ckpt.index and sgan_model.ckpt.meta) in params folder?

p.s. I am using TensorFlow version 1.1.0.

@dongdu3
Copy link
Author

dongdu3 commented Jun 12, 2017

Hi,

Thank you for your kind reply @maxorange . I have solved it and run the demo. The problem is that I didn't install the git-lfs correctly. So cannot git clone the correct scan_model.ckpt.data-00000-of-00001 model.

By the way, I also implemented the sketch-based modeling like yours, using 3D-VAE-GAN in the paper "Learning a Probabilistic Latent Space of Object Shapes via 3D Generative-Adversarial Modeling", but my latent space z seems no semantic meaning like yours, which displayed in the demo. That looks so cool!

@maxorange
Copy link
Owner

Thank you! I hope that this repository helps you. If you have any problems, feel free to open a new issue.

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

2 participants