Skip to content

Commit

Permalink
reqst
Browse files Browse the repository at this point in the history
  • Loading branch information
dingguanglei committed Oct 26, 2018
1 parent 728db8a commit c167ce3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
MOCK_MODULES = ['numpy', 'scipy',
'matplotlib', 'matplotlib.pyplot',
'scipy.interpolate',
'torch','torchvision',
'torch',
'tensorboardX',
'tensorboard',
'torch.optim',
'torch.nn',
'torch.utils.data',
'torch.autograd',
'torchvision.transforms'
'torchvision.utils'
# 'torchvision.transforms','torchvision', 'torchvision.utils'

]
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pip
mock
future
#numpy
torchvision
pyyaml
setuptools
six
Expand Down

0 comments on commit c167ce3

Please sign in to comment.