安装ZeroNet

现阶段,ZeroNet可由github源码调用。

git clone https://github.com/ddlee96/ZeroNet.git

demo文件夹下建立Jupyter Notebook或者Python脚本,加入如下内容:

import os
import sys
sys.path.insert(0, os.path.join("..\"))

之后,便可以用from zeronet.core.layer import Linear的形式使用。更多细节请参见文档的其他部分。