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

Docker configuration out of date? #224

Open
anselanza opened this issue Jul 24, 2019 · 3 comments
Open

Docker configuration out of date? #224

anselanza opened this issue Jul 24, 2019 · 3 comments

Comments

@anselanza
Copy link

anselanza commented Jul 24, 2019

I am trying to get HyperGAN running via a Docker image (since a Dockerfile is provided), as I would much rather have a contained, pre-configured environment in which to use it (rather than fiddling with Python versions all over my machine).

Has anyone actually used the Docker setup successfully with this project? I notice that while the Dockerfile specifies a Python 3.4 environment, the syntax in the project itself only works using 3.5. This also means that the Tensorflow version needs to be -cp35 instead of -cp34.

The ADD command also makes no sense, referring to a directories that do not (or no longer?) exist: ADD build *.py shared /. I changed this to a simple COPY . . to just copy everything.

Finally, the ENTRYPOINT also makes no sense: ENTRYPOINT ["python3", "handler.py"] - what is handler.py? This file also does not appear to exist anywhere.

I changed the entry point to ENTRYPOINT ["python3", "hypergan", "test"] but now I get the following error (from the Docker container):

/usr/local/bin/python3: can't find '__main__' module in 'hypergan' 

Any idea where to go from here?

@mikkel
Copy link
Contributor

mikkel commented Jul 27, 2019

Yes docker support is in a broken state at the moment. I was trying to get it running on SONM to get more cheap compute.

@anselanza
Copy link
Author

Any idea where to go from here, then? The hard part just seems to be getting files in the correct place?

@martyn
Copy link
Contributor

martyn commented Jul 30, 2020

The Dockerfile will not work until it is updated for 1.0. Will be after release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants