Not working for me in May 2021
ARNING: autodoc: failed to import class ‘ConvReLU3d’ from module ‘torch.nn.intrinsic.qat’; the following exception was raised:
Traceback (most recent call last):
File “c:\python38\lib\site-packages\sphinx\util\inspect.py”, line 403, in safe_getattr
return getattr(obj, name, *defargs)
AttributeError: module ‘torch.nn.intrinsic.qat’ has no attribute ‘ConvReLU3d’
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “c:\python38\lib\site-packages\sphinx\ext\autodoc\importer.py”, line 111, in import_object
obj = attrgetter(obj, mangled_name)
File “c:\python38\lib\site-packages\sphinx\ext\autodoc_init_.py”, line 320, in get_attr
return autodoc_attrgetter(self.env.app, obj, name, *defargs)
File “c:\python38\lib\site-packages\sphinx\ext\autodoc_init_.py”, line 2604, in autodoc_attrgetter
return safe_getattr(obj, name, *defargs)
File “c:\python38\lib\site-packages\sphinx\util\inspect.py”, line 419, in safe_getattr
raise AttributeError(name) from exc
AttributeError: ConvReLU3d
c:\python38\lib\site-packages\torch\nn\quantized\modules\activation.py:docstring of torch.nn.quantized.modules.activation.ReLU6:14: WARNING: image file not readable: scripts/activation_images/ReLU6.png
looking for now-outdated files… none found
pickling environment… done
checking consistency… done
preparing documents… done
writing output… [  0%] complex_numbers
Exception occurred:
File “c:\python38\lib\subprocess.py”, line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
The full traceback has been saved in C:\Users\paulb\AppData\Local\Temp\sphinx-err-nxayl6xl.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at https://github.com/sphinx-doc/sphinx/issues. Thanks!