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

needs installation instructions or requirements #3

Open
bertsky opened this issue Sep 23, 2019 · 0 comments
Open

needs installation instructions or requirements #3

bertsky opened this issue Sep 23, 2019 · 0 comments

Comments

@bertsky
Copy link

bertsky commented Sep 23, 2019

I have a hard time getting all dependencies installed. There is no install_requires section in setup.py, so I have to do this by hand – browsing through the code, starting up scripts. Is this painstaking procedure how this was meant to be?

Anyway, so far I came up with these requirements.txt:

numpy
scipy
matplotlib
pillow
torch
braceexpand
msgpack
zmq
git+https://github.com/NVlabs/dlinputs
git+https://github.com/NVlabs/dltrainers

Now the problem is this: If I install a recent torch, the dltrainers module will give me this:

    from torch.legacy import nn as legnn
ImportError: No module named legacy

Okay, so I restrict to torch <=0.4.1. But now I get that when loading one of the trained models available for download:

    result = unpickler.load()
ImportError: No module named layers

Also, why the Python 2 restriction? They keep saying end-of-life 2020, don't they? Couldn't this at least be futurized?

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

1 participant