Skip to content

Commit

Permalink
Fix/docs (#531)
Browse files Browse the repository at this point in the history
* Fix docs build

* Fix docs build
  • Loading branch information
ethanwharris committed Mar 20, 2019
1 parent 5220a2b commit 513f4a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
#
import os
import sys
from unittest.mock import MagicMock

autodoc_mock_imports = ['torch', 'torch.nn.utils.clip_grad_norm', 'torchvision', 'torchvision.utils', 'torchvision.datasets', 'torchvision.datasets.folder', 'torch.nn', 'torch.nn.functional', 'torch.nn.modules', 'torch.optim', 'torch.distributions.utils', 'torch.distributions', 'torch.utils', 'torch.utils.data', 'numpy', 'sklearn', 'sklearn.metrics', 'tqdm', 'tensorboardX', 'tensorboardX.torchvis', 'livelossplot', 'IPython']

sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../'))
sys.path.insert(0, os.path.abspath('../torchbearer'))


# -- General configuration ------------------------------------------------
Expand Down
7 changes: 0 additions & 7 deletions torchbearer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
:members:
:undoc-members:
Model (Deprecated)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. automodule:: torchbearer.torchbearer
:members:
:undoc-members:
State
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 513f4a9

Please sign in to comment.