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

Replace pytorch-gpu with pytorch in environment.yml #295

Merged
merged 2 commits into from
Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ Conda does not directly support installing development versions, but you can use
$ conda activate torchgeo
$ pip install .


.. note:: If you do not have access to a GPU or are running on macOS, replace ``pytorch-gpu`` with ``pytorch-cpu`` in the ``environment.yml`` file.
.. note:: The above method will not work on Windows. Windows users are recommended to create a conda environment and install dependencies via pip.

Conda does not directly support optional dependencies. If you install from conda-forge, only required dependencies will be installed by default. Optional dependencies can be installed afterwards using pip. If you install using the ``environment.yml`` file, all optional dependencies are installed by default.

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- pycocotools
- pyproj>=2.2
- python>=3.6
- pytorch-gpu>=1.7
- pytorch>=1.7
- rarfile>=3
- rasterio>=1.0.16
- shapely>=1.3
Expand Down