-
Notifications
You must be signed in to change notification settings - Fork 235
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
Make compatible with newer versions of torch #81
Comments
@SeemonJ, can you please comment on this? |
Hi @Dom303, The reason why we are using specifically tensorflow-gpu 1.14 is because it is the last version that supports the loading of the pretrained models and weights for the heteroencoder in the LatentGAN. I do not recall if the newer branch of the heteroencoder, intended for tensorflow 2.0 use, is compatible with the LatentGAN and allowing us to train new models, but the immediate problem is that it would render reproducibility impossible. |
Sorry, I referenced Tensorflow by accident, I wanted to reference Pytorch v1.1.0. Can you add support for PyTorch 1.4 or 1.5? Line 34 in b75dd89
|
Hi, @Dom303! If you install MOSES using pip ( |
Hi, @SeemonJ ! I was temp to retrain the Latent-GAN with my own data on the Moses platform, but it seems not quite an easy job to settle the dependencies right. I set the environment and installed dependencies just as the steps listed in the 'Manually' section, but the procedure still reported lots of warnings and errors(May still caused by version compatible problem). Updated after 2h: |
@Hunter-Leo the default of latentgan is to use the pretained model in the directory to save time, which might not always be the most suitable for your task. |
When installing moses via pip, it overwrites the local pytorch version. Please, change the code to
pip install tensorflow-gpu>=1.14
, and make sure it is compatible with newer versions.moses/install_latentgan_dependencies.sh
Line 12 in b75dd89
The text was updated successfully, but these errors were encountered: