Skip to content

Commit

Permalink
idealo#9: Fix TF-cpu overriding TF-gpu in Docker. Closes idealo#9.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfrancesco committed Apr 3, 2019
1 parent 9c0a00e commit 119addb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You may look through the [GitHub issues](https://github.com/idealo/image-super-r
## Pull Requests (PR)
1. Fork the repository and a create a new branch from the master branch.
2. For bug fixes, add new tests and for new features please add changes to the documentation.
3. Do a PR from your new branch to our `master` branch of the original Image Super-Resolution repo.
3. Do a PR from your new branch to our `dev` branch of the original Image Super-Resolution repo.

## Documentation
- Make sure any new function or class you introduce has proper docstrings.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY config.yml ./
COPY setup.py ./

RUN pip install --upgrade pip
RUN pip install -e .
RUN pip install -e ".[gpu]" --ignore-installed

ENV PYTHONPATH ./ISR/:$PYTHONPATH
ENTRYPOINT ["sh", "./scripts/entrypoint.sh"]
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
extras_require={
'tests': ['pytest==4.3.0', 'pytest-cov==2.6.1'],
'docs': ['mkdocs==1.0.4', 'mkdocs-material==4.0.2'],
'gpu': ['tensorflow-gpu==1.13.1'],
},
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit 119addb

Please sign in to comment.