Open fangwei123456 opened 3 years ago
现在的报错主要来源于rst文档的一些不规范的编写:
(pytorch-env) PS C:\Users\fw\Desktop\代码\spikingjelly\docs> make html
Running Sphinx v3.4.2
sys.path ['C:\\Users\\fw\\Desktop\\代码\\spikingjelly', 'C:\\Users\\fw\\anaconda3\\envs\\pytorch-env\\Scripts\\sphinx-build.exe', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\python38.zip', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\DLLs', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\scipy-1.6.0-py3.8-win-amd64.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\tqdm-4.55.1-py3.8.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\matplotlib-3.3.3-py3.8-win-amd64.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\python_dateutil-2.8.1-py3.8.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\pyparsing-3.0.0b2-py3.8.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\kiwisolver-1.3.1-py3.8-win-amd64.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\cycler-0.10.0-py3.8.egg', 'c:\\users\\fw\\desktop\\代码\\spikingjelly']
list dir ['.git', '.gitignore', '.idea', '.pytest_cache', '.readthedocs.yml', '.vscode', 'build', 'dist', 'docs', 'LICENSE', 'LICENSE-CN', 'README.md', 'README_cn.md', 'requirements.txt', 'setup.py', 'spikingjelly', 'spikingjelly.egg-info', 'test.py', '_C_neuron.cp38-win_amd64.pyd']
loading translations [zh_CN]... done
making output directory... done
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
loading intersphinx inventory from https://numpy.org/doc/stable/objects.inv...
loading intersphinx inventory from https://pytorch.org/docs/stable/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 57 source files that are out of date
updating environment: [new config] 57 added, 0 changed, 0 removed
reading sources... [100%] tutorial_en.clock_driven
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\13_neuromorphic_datasets.rst:61: WARNING: Enumerated list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\5_ann2snn.rst:20: WARNING: Title underline too short.
实验:IF神经元脉冲发放频率和输入的关系
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\5_ann2snn.rst:182: WARNING: Title underline too short.
实现与可选配置
^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\5_ann2snn.rst:182: WARNING: Title underline too short.
实现与可选配置
^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\5_ann2snn.rst:374: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 12 supplied.
.. code-block:: python
onnxparser = parser(name=model_name,
log_dir=log_dir + '/parser',
kernel='onnx')
snn = onnxparser.parse(ann, norm_data.to(parser_device))
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\5_ann2snn.rst:403: WARNING: Explicit markup ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\0_neuron.rst:45: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\10_propagation_pattern.rst:6: WARNING: Title underline too short.
Single-Step and Multi-Step
------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\10_propagation_pattern.rst:79: WARNING: Title underline too short.
Step-by-step and Layer-by-Layer
-------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\10_propagation_pattern.rst:79: WARNING: Title underline too short.
Step-by-step and Layer-by-Layer
-------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\11_cext_neuron_with_lbl.rst:2: WARNING: Title underline too short.
Accelerate with CUDA-Enhanced Neuron and Layer-by-Layer Propagation
==================================================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\13_neuromorphic_datasets.rst:9: WARNING: Title underline too short.
Download Automatically/Manually
------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\4_conv_fashion_mnist.rst:2: WARNING: Title underline too short.
Clock driven: Use convolutional SNN to identify Fashion-MNIST
============================================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.cext.functional.rst:2: WARNING: Title underline too short.
spikingjelly.cext.functional package
=========================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.cext.layer.rst:2: WARNING: Title underline too short.
spikingjelly.cext.layer package
=========================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.cext.neuron.rst:2: WARNING: Title underline too short.
spikingjelly.cext.neuron package
=========================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\ann2snn\modules.py:docstring of spikingjelly.clock_driven.ann2snn.modules.MaxPool2d:60: WARNING: Explicit markup ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.ann2snn.examples.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.ann2snn.examples package
====================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.ann2snn.examples.rst:8: WARNING: Title underline too short.
spikingjelly.clock_driven.ann2snn.examples.if\_cnn\_mnist module
--------------------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.ann2snn.examples.rst:8: WARNING: Title underline too short.
spikingjelly.clock_driven.ann2snn.examples.if\_cnn\_mnist module
--------------------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.encoding.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.encoding package
=========================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\encoding.py:docstring of spikingjelly.clock_driven.encoding.BaseEncoder.forward:6: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\encoding.py:docstring of spikingjelly.clock_driven.encoding.PeriodicEncoder:1: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\encoding.py:docstring of spikingjelly.clock_driven.encoding.LatencyEncoder:21: WARNING: Explicit markup ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\encoding.py:docstring of spikingjelly.clock_driven.encoding.WeightedPhaseEncoder.forward:1: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\examples\common\multiprocessing_env.py:docstring of spikingjelly.clock_driven.examples.common.multiprocessing_env.VecEnv.step_wait:3: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.functional.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.functional package
===========================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\functional.py:docstring of spikingjelly.clock_driven.functional.first_spike_index:5: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\functional.py:docstring of spikingjelly.clock_driven.functional.first_spike_index:6: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\functional.py:docstring of spikingjelly.clock_driven.functional.first_spike_index:36: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\functional.py:docstring of spikingjelly.clock_driven.functional.first_spike_index:37: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.layer.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.layer package
======================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\layer.py:docstring of spikingjelly.clock_driven.layer.SeqToANNContainer:5: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\layer.py:docstring of spikingjelly.clock_driven.layer.SeqToANNContainer:11: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 25 supplied.
.. code-block:: python
with torch.no_grad():
T = 16
batch_size = 8
x = torch.rand([T, batch_size, 4])
fc = SeqToANNContainer(nn.Linear(4, 2), nn.Linear(2, 3))
print(fc(x).shape)
# torch.Size([16, 8, 3])
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\layer.py:docstring of spikingjelly.clock_driven.layer.SeqToANNContainer:24: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\layer.py:docstring of spikingjelly.clock_driven.layer.SeqToANNContainer:30: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 25 supplied.
.. code-block:: python
with torch.no_grad():
T = 16
batch_size = 8
x = torch.rand([T, batch_size, 4])
fc = SeqToANNContainer(nn.Linear(4, 2), nn.Linear(2, 3))
print(fc(x).shape)
# torch.Size([16, 8, 3])
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.neuron.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.neuron package
=======================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingRNNBase.forward:14: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingRNNBase.forward:15: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingRNNBase.forward:34: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingRNNBase.forward:36: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:10: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:11: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:13: WARNING: Definition list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:17: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:18: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:31: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:32: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:34: WARNING: Definition list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:38: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:39: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.surrogate.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.surrogate package
==========================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.heaviside:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.heaviside:19: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseQuadratic:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseQuadratic:33: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseExp:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseExp:28: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.Sigmoid:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.Sigmoid:24: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.SoftSign:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.SoftSign:25: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.ATan:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.ATan:18: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.NonzeroSignLogAbs:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.NonzeroSignLogAbs:36: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.Erf:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.Erf:30: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseLeakyReLU:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseLeakyReLU:34: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.rst:2: WARNING: Title underline too short.
spikingjelly.event\_driven package
=================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.encoding.rst:2: WARNING: Title underline too short.
spikingjelly.event_driven.encoding package
=========================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.examples.rst:2: WARNING: Title underline too short.
spikingjelly.event\_driven.examples package
==========================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.examples.rst:8: WARNING: Title underline too short.
spikingjelly.event\_driven.examples.tempotron\_mnist module
----------------------------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.examples.rst:8: WARNING: Title underline too short.
spikingjelly.event\_driven.examples.tempotron\_mnist module
----------------------------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.neuron.rst:2: WARNING: Title underline too short.
spikingjelly.event_driven.neuron package
=======================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.visualizing.rst:2: WARNING: Title underline too short.
spikingjelly.visualizing package
===============================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.clock_driven.rst:87: WARNING: Title underline too short.
将脉冲神经元嵌入到深度网络
------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.clock_driven.rst:87: WARNING: Title underline too short.
将脉冲神经元嵌入到深度网络
------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.clock_driven.rst:99: WARNING: Title underline too short.
使用双层全连接网络进行MNIST分类
-----------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.clock_driven.rst:99: WARNING: Title underline too short.
使用双层全连接网络进行MNIST分类
-----------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:23: WARNING: Title underline too short.
脉冲响应模型(Spike response model, SRM)
--------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:23: WARNING: Title underline too short.
脉冲响应模型(Spike response model, SRM)
--------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:96: WARNING: Inline literal start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:101: WARNING: Title underline too short.
高斯调谐曲线编码器
^^^^^^^^^^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:132: WARNING: Title underline too short.
定义网络、损失函数、分类结果
^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:132: WARNING: Title underline too short.
定义网络、损失函数、分类结果
^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:14: WARNING: Title underline too short.
SNN Compared with RNN
----------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:52: WARNING: Title underline too short.
Surrogate Gradient Method
-------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:52: WARNING: Title underline too short.
Surrogate Gradient Method
-------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:75: WARNING: Title underline too short.
Embed Spiking Neurons into Deep Networks
------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:75: WARNING: Title underline too short.
Embed Spiking Neurons into Deep Networks
------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:86: WARNING: Title underline too short.
MNIST classification using a double-layer fully connected network
-----------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:86: WARNING: Title underline too short.
MNIST classification using a double-layer fully connected network
-----------------------------
looking for now-outdated files... none found
pickling environment... done
checking consistency... C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\1_surrogate.rst: WARNING: document isn't included in any toctree
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\modules.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] tutorial_en.clock_driven
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\5_ann2snn.rst:405: WARNING: Could not lex literal_block as "python". Highlighting skipped.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\5_ann2snn.rst:426: WARNING: Could not lex literal_block as "python". Highlighting skipped.
generating indices... genindex py-modindex done
highlighting module code... [100%] spikingjelly.visualizing _mnistquential_mnisted_backpropagation
writing additional pages... search done
copying images... [100%] _static/examples/event_driven/tempotron_mnist/test.svggurve.pnguracy_curve.png-by-layer.png
copying downloadable files... [100%] ../clock_driven/examples/classify_dvsg.py
copying static files... done
copying extra files... done
dumping search index in Chinese (code: zh)... done
dumping object inventory... done
build succeeded, 98 warnings.
The HTML pages are in build\html.
(pytorch-env) PS C:\Users\fw\Desktop\代码\spikingjelly\docs> make html
Running Sphinx v3.4.2
sys.path ['C:\\Users\\fw\\Desktop\\代码\\spikingjelly', 'C:\\Users\\fw\\anaconda3\\envs\\pytorch-env\\Scripts\\sphinx-build.exe', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\python38.zip', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\DLLs', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\scipy-1.6.0-py3.8-win-amd64.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\tqdm-4.55.1-py3.8.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\matplotlib-3.3.3-py3.8-win-amd64.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\python_dateutil-2.8.1-py3.8.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\pyparsing-3.0.0b2-py3.8.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\kiwisolver-1.3.1-py3.8-win-amd64.egg', 'c:\\users\\fw\\anaconda3\\envs\\pytorch-env\\lib\\site-packages\\cycler-0.10.0-py3.8.egg', 'c:\\users\\fw\\desktop\\代码\\spikingjelly']
list dir ['.git', '.gitignore', '.idea', '.pytest_cache', '.readthedocs.yml', '.vscode', 'build', 'dist', 'docs', 'LICENSE', 'LICENSE-CN', 'README.md', 'README_cn.md', 'requirements.txt', 'setup.py', 'spikingjelly', 'spikingjelly.egg-info', 'test.py', '_C_neuron.cp38-win_amd64.pyd']
loading translations [zh_CN]... done
making output directory... done
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
loading intersphinx inventory from https://numpy.org/doc/stable/objects.inv...
loading intersphinx inventory from https://pytorch.org/docs/stable/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 56 source files that are out of date
updating environment: [new config] 56 added, 0 changed, 0 removed
reading sources... [100%] tutorial_en.clock_driven
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\ann2snn\modules.py:docstring of spikingjelly.clock_driven.ann2snn.modules.MaxPool2d:60: WARNING: Explicit markup ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\encoding.py:docstring of spikingjelly.clock_driven.encoding.BaseEncoder.forward:6: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\encoding.py:docstring of spikingjelly.clock_driven.encoding.PeriodicEncoder:1: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\encoding.py:docstring of spikingjelly.clock_driven.encoding.LatencyEncoder:21: WARNING: Explicit markup ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\encoding.py:docstring of spikingjelly.clock_driven.encoding.WeightedPhaseEncoder.forward:1: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\examples\common\multiprocessing_env.py:docstring of spikingjelly.clock_driven.examples.common.multiprocessing_env.VecEnv.step_wait:3: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.functional.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.functional package
===========================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\functional.py:docstring of spikingjelly.clock_driven.functional.first_spike_index:5: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\functional.py:docstring of spikingjelly.clock_driven.functional.first_spike_index:6: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\functional.py:docstring of spikingjelly.clock_driven.functional.first_spike_index:36: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\functional.py:docstring of spikingjelly.clock_driven.functional.first_spike_index:37: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.layer.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.layer package
======================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\layer.py:docstring of spikingjelly.clock_driven.layer.SeqToANNContainer:5: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\layer.py:docstring of spikingjelly.clock_driven.layer.SeqToANNContainer:11: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 25 supplied.
.. code-block:: python
with torch.no_grad():
T = 16
batch_size = 8
x = torch.rand([T, batch_size, 4])
fc = SeqToANNContainer(nn.Linear(4, 2), nn.Linear(2, 3))
print(fc(x).shape)
# torch.Size([16, 8, 3])
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\layer.py:docstring of spikingjelly.clock_driven.layer.SeqToANNContainer:24: WARNING: Inline emphasis start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\layer.py:docstring of spikingjelly.clock_driven.layer.SeqToANNContainer:30: WARNING: Error in "code-block" directive:
maximum 1 argument(s) allowed, 25 supplied.
.. code-block:: python
with torch.no_grad():
T = 16
batch_size = 8
x = torch.rand([T, batch_size, 4])
fc = SeqToANNContainer(nn.Linear(4, 2), nn.Linear(2, 3))
print(fc(x).shape)
# torch.Size([16, 8, 3])
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.neuron.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.neuron package
=======================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingRNNBase.forward:14: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingRNNBase.forward:15: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingRNNBase.forward:34: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingRNNBase.forward:36: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:10: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:11: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:13: WARNING: Definition list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:17: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:18: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:31: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:32: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:34: WARNING: Definition list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:38: WARNING: Unexpected indentation.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\rnn.py:docstring of spikingjelly.clock_driven.rnn.SpikingLSTMCell.forward:39: WARNING: Block quote ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.clock_driven.surrogate.rst:2: WARNING: Title underline too short.
spikingjelly.clock_driven.surrogate package
==========================================
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.heaviside:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.heaviside:19: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseQuadratic:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseQuadratic:33: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseExp:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseExp:28: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.Sigmoid:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.Sigmoid:24: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.SoftSign:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.SoftSign:25: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.ATan:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.ATan:18: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.NonzeroSignLogAbs:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.NonzeroSignLogAbs:36: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.Erf:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.Erf:30: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseLeakyReLU:2: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\spikingjelly\clock_driven\surrogate.py:docstring of spikingjelly.clock_driven.surrogate.PiecewiseLeakyReLU:34: WARNING: Bullet list ends without a blank line; unexpected unindent.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.rst:2: WARNING: Title underline too short.
spikingjelly.event\_driven package
=================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.encoding.rst:2: WARNING: Title underline too short.
spikingjelly.event_driven.encoding package
=========================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.examples.rst:2: WARNING: Title underline too short.
spikingjelly.event\_driven.examples package
==========================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.examples.rst:8: WARNING: Title underline too short.
spikingjelly.event\_driven.examples.tempotron\_mnist module
----------------------------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.examples.rst:8: WARNING: Title underline too short.
spikingjelly.event\_driven.examples.tempotron\_mnist module
----------------------------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.event_driven.neuron.rst:2: WARNING: Title underline too short.
spikingjelly.event_driven.neuron package
=======================================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.visualizing.rst:2: WARNING: Title underline too short.
spikingjelly.visualizing package
===============================
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.clock_driven.rst:87: WARNING: Title underline too short.
将脉冲神经元嵌入到深度网络
------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.clock_driven.rst:87: WARNING: Title underline too short.
将脉冲神经元嵌入到深度网络
------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.clock_driven.rst:99: WARNING: Title underline too short.
使用双层全连接网络进行MNIST分类
-----------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.clock_driven.rst:99: WARNING: Title underline too short.
使用双层全连接网络进行MNIST分类
-----------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:23: WARNING: Title underline too short.
脉冲响应模型(Spike response model, SRM)
--------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:23: WARNING: Title underline too short.
脉冲响应模型(Spike response model, SRM)
--------------------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:96: WARNING: Inline literal start-string without end-string.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:101: WARNING: Title underline too short.
高斯调谐曲线编码器
^^^^^^^^^^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:132: WARNING: Title underline too short.
定义网络、损失函数、分类结果
^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial.event_driven.rst:132: WARNING: Title underline too short.
定义网络、损失函数、分类结果
^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:14: WARNING: Title underline too short.
SNN Compared with RNN
----------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:52: WARNING: Title underline too short.
Surrogate Gradient Method
-------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:52: WARNING: Title underline too short.
Surrogate Gradient Method
-------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:75: WARNING: Title underline too short.
Embed Spiking Neurons into Deep Networks
------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:75: WARNING: Title underline too short.
Embed Spiking Neurons into Deep Networks
------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:86: WARNING: Title underline too short.
MNIST classification using a double-layer fully connected network
-----------------------------
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\tutorial_en.clock_driven.rst:86: WARNING: Title underline too short.
MNIST classification using a double-layer fully connected network
-----------------------------
looking for now-outdated files... none found
pickling environment... done
checking consistency... C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\1_surrogate.rst: WARNING: document isn't included in any toctree
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\spikingjelly.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
writing output... [100%] tutorial_en.clock_driven
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven\5_ann2snn.rst:407: WARNING: Could not lex literal_block as "python". Highlighting skipped.
C:\Users\fw\Desktop\代码\spikingjelly\docs\source\clock_driven_en\5_ann2snn.rst:426: WARNING: Could not lex literal_block as "python". Highlighting skipped.
generating indices... genindex py-modindex done
highlighting module code... [100%] spikingjelly.visualizing _mnistquential_mnisted_backpropagation
writing additional pages... search done
copying images... [100%] _static/examples/event_driven/tempotron_mnist/test.svggurve.pnguracy_curve.png-by-layer.png
copying downloadable files... [100%] ../clock_driven/examples/classify_dvsg.py
copying static files... done
copying extra files... done
dumping search index in Chinese (code: zh)... done
dumping object inventory... done
build succeeded, 78 warnings.
The HTML pages are in build\html.
编译文档产生的warning是一个生灭过程...
请诸位开发者闲暇时处理一下文档编译时产生的warning(不局限于自己的代码)。可以在本地进行编译测试: