Skip to content

Commit

Permalink
Merge pull request #845 from azavea/lf/docs
Browse files Browse the repository at this point in the history
[BACKPORT] Fix API docs
  • Loading branch information
lewfish committed Oct 14, 2019
2 parents a8a15f2 + ac5e338 commit 4d23f84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'pallets_sphinx_themes',
'sphinxcontrib.programoutput'
'sphinxcontrib.programoutput',
'sphinxcontrib.napoleon',
]

# https://read-the-docs.readthedocs.io/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Sphinx~=1.8.0
Pallets-Sphinx-Themes~=1.1.0
sphinxcontrib-programoutput==0.11
sphinxcontrib-napoleon==0.7
4 changes: 2 additions & 2 deletions extras_requirements.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"tensorflow-gpu==1.10.1"
],
"pytorch": [
"torch==1.2.*",
"torchvision==0.4.*",
"torch==1.2.0",
"torchvision==0.4.0",
"tensorboard==1.14.*",
"numpy<1.17"
],
Expand Down
5 changes: 2 additions & 3 deletions rastervision/backend/pytorch_chip_classification_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ def with_train_options(self,
details.
num_epochs: (int) number of epochs (sweeps through training set) to
train model for
model_arch: (str) classification model backbone to use for UNet
architecture. Any option in torchvision.models is valid, for
example, resnet18.
model_arch: (str) Any classification model option in
torchvision.models is valid, for example, resnet18.
sync_interval: (int) sync training directory to cloud every
sync_interval epochs.
debug: (bool) if True, save debug chips (ie. visualizations of
Expand Down

0 comments on commit 4d23f84

Please sign in to comment.