FC2カウンター FPGAの部屋 2020年05月08日
fc2ブログ

FPGAやCPLDの話題やFPGA用のツールの話題などです。 マニアックです。 日記も書きます。

FPGAの部屋

FPGAの部屋の有用と思われるコンテンツのまとめサイトを作りました。Xilinx ISEの初心者の方には、FPGAリテラシーおよびチュートリアルのページをお勧めいたします。

NNgenをやってみる1(インストールとテストコード実行編)

ディープ・ニューラル・ネットワーク用の完全にカスタマイズ可能なハードウェア合成コンパイラの NNgen をやってみようと思う。

まずはインストールをしていこう。
NNgen を git clone した。
git clone https://github.com/NNgen/nngen.git
cd nngen

nngen_1_200507.png

iverilog をインストールした。
sudo apt install iverilog
すでにインストールされていた。
nngen_2_200507.png

pip3 install jinja2 pyverilog veriloggen numpy onnx
nngen_3_200507.png
nngen_4_200507.png

NNgen をインストールする。
python3 setup.py install
nngen_5_200507.png
nngen_6_200507.png

pip3 install pytest pytest-pythonpath torch torchvision
nngen_7_200507.png
nngen_8_200507.png

sudo apt install verilator
nngen_9_200507.png

ドキュメントの関連のインストール
sudo apt install texlive-science texlive-fonts-recommended texlive-fonts-extra dvipng
nngen_10_200507.png

pip3 install sphinx sphinx_rtd_theme
nngen_11_200507.png

veriloggen と Pyverilog の git clone(最新バージョンを使うのでなければ必要ないかも?)
cd ..
git clone https://github.com/PyHDI/veriloggen.git
git clone https://github.com/PyHDI/Pyverilog.git

nngen_12_200507.png

nngen ディレクトリに veriloggen と Pyverilog のシンボリックリンクを作成する。(最新バージョンを使うのでなければ必要ないかも?)
cd nngen
ln -s ../veriloggen/veriloggen
ln -s ../Pyverilog/pyverilog

nngen_13_200507.png

この時は、うまく veriloggen のシンボリックリンクができなかったので、後でもう一度シンボリックリンクを行った。
ln -s ../veriloggen/veriloggen
nngen_22_200508.png

テストコードを実行する。
cd tests
ls

nngen_14_200507.png
nngen_15_200507.png

python3 -m pytest .
を実行するとエラーになった。
nngen_16_200507.png

____________________________ ERROR at setup of test ____________________________

item = <Function test>

    def pytest_runtest_setup(item):
    
>       remote_data = item.get_marker('remote_data')
E       AttributeError: 'Function' object has no attribute 'get_marker'

/home/masaaki/anaconda3/lib/python3.6/site-packages/pytest_remotedata/plugin.py:59: AttributeError


nngen_17_200507.png

検索したところ”AttributeError: 'Function' object has no attribute 'get_marker' #4608”が見つかった。
これによると、 .get_marker はpytest 4には存在しなくなり、 .get_closest_marker が代わりに使用できるそうだ。私は、 pytest 3.10.1 に戻すことにした。
pip install pytest==3.10.1
nngen_18_200507.png
nngen_19_200507.png

もう一度、
python3 -m pytest .
を行った。 .get_marker のエラーは回避できたが、今度は onnx が無いと言われてしまった。
nngen_20_200507.png

onnx は先程インストールしたはずだが、もう一度、インストールしよう。
pip3 install onnx
nngen_21_200507.png

再度、
python3 -m pytest .
を行った。現在実行中。
nngen_23_200508.png

(追記)何時間も”onnx_matrix_conv2d/test_onnx_matrix_conv2d_sigmoid_int16_3x3_stride1.py”から進まない。
とりあえず CTRL+C でアボートした。
nngen_24_200508.png

次に
python3 -m pytest --sim=verilator .
をやってみた。
nngen_25_200508.png

やはり、”onnx_matrix_conv2d/test_onnx_matrix_conv2d_sigmoid_int16_3x3_stride1.py”から進まなかったので、アボートした。

python3 setup.py install のログを貼っておく。

masaaki@masaaki-H110M4-M01:/media/masaaki/Ubuntu_Disk/shtaxxx/nngen$ python3 setup.py install
running install
running bdist_egg
running egg_info
creating nngen.egg-info
writing nngen.egg-info/PKG-INFO
writing dependency_links to nngen.egg-info/dependency_links.txt
writing requirements to nngen.egg-info/requires.txt
writing top-level names to nngen.egg-info/top_level.txt
writing manifest file 'nngen.egg-info/SOURCES.txt'
reading manifest file 'nngen.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'LICENSE.txt'
writing manifest file 'nngen.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/nngen
copying nngen/eval.py -> build/lib/nngen
copying nngen/util.py -> build/lib/nngen
copying nngen/basic_types.py -> build/lib/nngen
copying nngen/__init__.py -> build/lib/nngen
copying nngen/scheduler.py -> build/lib/nngen
copying nngen/version.py -> build/lib/nngen
copying nngen/sim.py -> build/lib/nngen
copying nngen/substreams.py -> build/lib/nngen
copying nngen/storage.py -> build/lib/nngen
copying nngen/verilog.py -> build/lib/nngen
copying nngen/dtype_list.py -> build/lib/nngen
creating build/lib/nngen/verify
copying nngen/verify/leaky_relu.py -> build/lib/nngen/verify
copying nngen/verify/concat.py -> build/lib/nngen/verify
copying nngen/verify/ternary_weight_conv2d.py -> build/lib/nngen/verify
copying nngen/verify/pool_serial.py -> build/lib/nngen/verify
copying nngen/verify/conv2d.py -> build/lib/nngen/verify
copying nngen/verify/relu.py -> build/lib/nngen/verify
copying nngen/verify/pad.py -> build/lib/nngen/verify
copying nngen/verify/__init__.py -> build/lib/nngen/verify
copying nngen/verify/sigmoid.py -> build/lib/nngen/verify
copying nngen/verify/exp.py -> build/lib/nngen/verify
copying nngen/verify/extern.py -> build/lib/nngen/verify
copying nngen/verify/binary_weight_conv2d.py -> build/lib/nngen/verify
copying nngen/verify/pool.py -> build/lib/nngen/verify
copying nngen/verify/log_weight_conv2d.py -> build/lib/nngen/verify
copying nngen/verify/matmul.py -> build/lib/nngen/verify
copying nngen/verify/slice_.py -> build/lib/nngen/verify
copying nngen/verify/upsampling2d.py -> build/lib/nngen/verify
copying nngen/verify/basic.py -> build/lib/nngen/verify
copying nngen/verify/normalize.py -> build/lib/nngen/verify
creating build/lib/nngen/operator
copying nngen/operator/leaky_relu.py -> build/lib/nngen/operator
copying nngen/operator/concat.py -> build/lib/nngen/operator
copying nngen/operator/ternary_weight_conv2d.py -> build/lib/nngen/operator
copying nngen/operator/pool_serial.py -> build/lib/nngen/operator
copying nngen/operator/conv2d.py -> build/lib/nngen/operator
copying nngen/operator/relu.py -> build/lib/nngen/operator
copying nngen/operator/pad.py -> build/lib/nngen/operator
copying nngen/operator/__init__.py -> build/lib/nngen/operator
copying nngen/operator/sigmoid.py -> build/lib/nngen/operator
copying nngen/operator/exp.py -> build/lib/nngen/operator
copying nngen/operator/extern.py -> build/lib/nngen/operator
copying nngen/operator/binary_weight_conv2d.py -> build/lib/nngen/operator
copying nngen/operator/pool.py -> build/lib/nngen/operator
copying nngen/operator/log_weight_conv2d.py -> build/lib/nngen/operator
copying nngen/operator/matmul.py -> build/lib/nngen/operator
copying nngen/operator/slice_.py -> build/lib/nngen/operator
copying nngen/operator/upsampling2d.py -> build/lib/nngen/operator
copying nngen/operator/basic.py -> build/lib/nngen/operator
copying nngen/operator/normalize.py -> build/lib/nngen/operator
creating build/lib/nngen/onnx
copying nngen/onnx/concat.py -> build/lib/nngen/onnx
copying nngen/onnx/reshape.py -> build/lib/nngen/onnx
copying nngen/onnx/gather.py -> build/lib/nngen/onnx
copying nngen/onnx/util.py -> build/lib/nngen/onnx
copying nngen/onnx/floor.py -> build/lib/nngen/onnx
copying nngen/onnx/transpose.py -> build/lib/nngen/onnx
copying nngen/onnx/flatten.py -> build/lib/nngen/onnx
copying nngen/onnx/pad.py -> build/lib/nngen/onnx
copying nngen/onnx/__init__.py -> build/lib/nngen/onnx
copying nngen/onnx/cast.py -> build/lib/nngen/onnx
copying nngen/onnx/exp.py -> build/lib/nngen/onnx
copying nngen/onnx/batchnormalization.py -> build/lib/nngen/onnx
copying nngen/onnx/conv.py -> build/lib/nngen/onnx
copying nngen/onnx/pool.py -> build/lib/nngen/onnx
copying nngen/onnx/upsample.py -> build/lib/nngen/onnx
copying nngen/onnx/squeeze.py -> build/lib/nngen/onnx
copying nngen/onnx/act_func.py -> build/lib/nngen/onnx
copying nngen/onnx/slice_.py -> build/lib/nngen/onnx
copying nngen/onnx/reduce.py -> build/lib/nngen/onnx
copying nngen/onnx/basic.py -> build/lib/nngen/onnx
copying nngen/onnx/shape.py -> build/lib/nngen/onnx
copying nngen/onnx/ceil.py -> build/lib/nngen/onnx
copying nngen/onnx/gemm.py -> build/lib/nngen/onnx
copying nngen/onnx/identity.py -> build/lib/nngen/onnx
creating build/lib/nngen/quantizer
copying nngen/quantizer/conv2d.py -> build/lib/nngen/quantizer
copying nngen/quantizer/util.py -> build/lib/nngen/quantizer
copying nngen/quantizer/__init__.py -> build/lib/nngen/quantizer
copying nngen/quantizer/sigmoid.py -> build/lib/nngen/quantizer
copying nngen/quantizer/exp.py -> build/lib/nngen/quantizer
copying nngen/quantizer/matmul.py -> build/lib/nngen/quantizer
copying nngen/quantizer/reduce.py -> build/lib/nngen/quantizer
copying nngen/quantizer/normalize.py -> build/lib/nngen/quantizer
copying nngen/VERSION -> build/lib/nngen
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/nngen
creating build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/leaky_relu.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/concat.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/ternary_weight_conv2d.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/pool_serial.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/conv2d.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/relu.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/pad.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/__init__.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/sigmoid.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/exp.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/extern.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/binary_weight_conv2d.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/pool.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/log_weight_conv2d.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/matmul.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/slice_.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/upsampling2d.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/basic.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/verify/normalize.py -> build/bdist.linux-x86_64/egg/nngen/verify
copying build/lib/nngen/eval.py -> build/bdist.linux-x86_64/egg/nngen
creating build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/leaky_relu.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/concat.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/ternary_weight_conv2d.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/pool_serial.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/conv2d.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/relu.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/pad.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/__init__.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/sigmoid.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/exp.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/extern.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/binary_weight_conv2d.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/pool.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/log_weight_conv2d.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/matmul.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/slice_.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/upsampling2d.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/basic.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/operator/normalize.py -> build/bdist.linux-x86_64/egg/nngen/operator
copying build/lib/nngen/util.py -> build/bdist.linux-x86_64/egg/nngen
copying build/lib/nngen/VERSION -> build/bdist.linux-x86_64/egg/nngen
copying build/lib/nngen/basic_types.py -> build/bdist.linux-x86_64/egg/nngen
copying build/lib/nngen/__init__.py -> build/bdist.linux-x86_64/egg/nngen
copying build/lib/nngen/scheduler.py -> build/bdist.linux-x86_64/egg/nngen
creating build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/concat.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/reshape.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/gather.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/util.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/floor.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/transpose.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/flatten.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/pad.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/__init__.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/cast.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/exp.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/batchnormalization.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/conv.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/pool.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/upsample.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/squeeze.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/act_func.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/slice_.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/reduce.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/basic.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/shape.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/ceil.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/gemm.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/onnx/identity.py -> build/bdist.linux-x86_64/egg/nngen/onnx
copying build/lib/nngen/version.py -> build/bdist.linux-x86_64/egg/nngen
copying build/lib/nngen/sim.py -> build/bdist.linux-x86_64/egg/nngen
copying build/lib/nngen/substreams.py -> build/bdist.linux-x86_64/egg/nngen
copying build/lib/nngen/storage.py -> build/bdist.linux-x86_64/egg/nngen
creating build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/quantizer/conv2d.py -> build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/quantizer/util.py -> build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/quantizer/__init__.py -> build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/quantizer/sigmoid.py -> build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/quantizer/exp.py -> build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/quantizer/matmul.py -> build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/quantizer/reduce.py -> build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/quantizer/normalize.py -> build/bdist.linux-x86_64/egg/nngen/quantizer
copying build/lib/nngen/verilog.py -> build/bdist.linux-x86_64/egg/nngen
copying build/lib/nngen/dtype_list.py -> build/bdist.linux-x86_64/egg/nngen
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/leaky_relu.py to leaky_relu.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/concat.py to concat.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/ternary_weight_conv2d.py to ternary_weight_conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/pool_serial.py to pool_serial.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/conv2d.py to conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/relu.py to relu.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/pad.py to pad.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/sigmoid.py to sigmoid.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/exp.py to exp.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/extern.py to extern.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/binary_weight_conv2d.py to binary_weight_conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/pool.py to pool.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/log_weight_conv2d.py to log_weight_conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/matmul.py to matmul.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/slice_.py to slice_.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/upsampling2d.py to upsampling2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/basic.py to basic.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verify/normalize.py to normalize.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/eval.py to eval.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/leaky_relu.py to leaky_relu.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/concat.py to concat.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/ternary_weight_conv2d.py to ternary_weight_conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/pool_serial.py to pool_serial.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/conv2d.py to conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/relu.py to relu.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/pad.py to pad.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/sigmoid.py to sigmoid.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/exp.py to exp.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/extern.py to extern.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/binary_weight_conv2d.py to binary_weight_conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/pool.py to pool.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/log_weight_conv2d.py to log_weight_conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/matmul.py to matmul.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/slice_.py to slice_.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/upsampling2d.py to upsampling2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/basic.py to basic.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/operator/normalize.py to normalize.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/util.py to util.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/basic_types.py to basic_types.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/scheduler.py to scheduler.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/concat.py to concat.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/reshape.py to reshape.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/gather.py to gather.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/util.py to util.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/floor.py to floor.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/transpose.py to transpose.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/flatten.py to flatten.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/pad.py to pad.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/cast.py to cast.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/exp.py to exp.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/batchnormalization.py to batchnormalization.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/conv.py to conv.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/pool.py to pool.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/upsample.py to upsample.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/squeeze.py to squeeze.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/act_func.py to act_func.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/slice_.py to slice_.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/reduce.py to reduce.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/basic.py to basic.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/shape.py to shape.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/ceil.py to ceil.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/gemm.py to gemm.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/onnx/identity.py to identity.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/version.py to version.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/sim.py to sim.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/substreams.py to substreams.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/storage.py to storage.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/quantizer/conv2d.py to conv2d.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/quantizer/util.py to util.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/quantizer/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/quantizer/sigmoid.py to sigmoid.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/quantizer/exp.py to exp.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/quantizer/matmul.py to matmul.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/quantizer/reduce.py to reduce.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/quantizer/normalize.py to normalize.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/verilog.py to verilog.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/nngen/dtype_list.py to dtype_list.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying nngen.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nngen.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nngen.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nngen.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying nngen.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
nngen.__pycache__.version.cpython-36: module references __file__
creating dist
creating 'dist/nngen-1.3.0-py3.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing nngen-1.3.0-py3.6.egg
creating /home/masaaki/anaconda3/lib/python3.6/site-packages/nngen-1.3.0-py3.6.egg
Extracting nngen-1.3.0-py3.6.egg to /home/masaaki/anaconda3/lib/python3.6/site-packages
Adding nngen 1.3.0 to easy-install.pth file

Installed /home/masaaki/anaconda3/lib/python3.6/site-packages/nngen-1.3.0-py3.6.egg
Processing dependencies for nngen==1.3.0
Searching for onnx==1.6.0
Best match: onnx 1.6.0
Adding onnx 1.6.0 to easy-install.pth file
Installing backend-test-tools script to /home/masaaki/anaconda3/bin
Installing check-model script to /home/masaaki/anaconda3/bin
Installing check-node script to /home/masaaki/anaconda3/bin

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for numpy==1.18.4
Best match: numpy 1.18.4
Adding numpy 1.18.4 to easy-install.pth file
Installing f2py script to /home/masaaki/anaconda3/bin
Installing f2py3 script to /home/masaaki/anaconda3/bin
Installing f2py3.6 script to /home/masaaki/anaconda3/bin

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for veriloggen==1.8.2
Best match: veriloggen 1.8.2
Adding veriloggen 1.8.2 to easy-install.pth file

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for pyverilog==1.2.1
Best match: pyverilog 1.2.1
Adding pyverilog 1.2.1 to easy-install.pth file

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for Jinja2==2.11.2
Best match: Jinja2 2.11.2
Adding Jinja2 2.11.2 to easy-install.pth file

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for six==1.14.0
Best match: six 1.14.0
Adding six 1.14.0 to easy-install.pth file

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for typing-extensions==3.7.4.2
Best match: typing-extensions 3.7.4.2
Adding typing-extensions 3.7.4.2 to easy-install.pth file

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for protobuf==3.11.3
Best match: protobuf 3.11.3
Adding protobuf 3.11.3 to easy-install.pth file

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for MarkupSafe==1.1.1
Best match: MarkupSafe 1.1.1
Adding MarkupSafe 1.1.1 to easy-install.pth file

Using /home/masaaki/.local/lib/python3.6/site-packages
Searching for setuptools==46.1.3
Best match: setuptools 46.1.3
Adding setuptools 46.1.3 to easy-install.pth file
Installing easy_install script to /home/masaaki/anaconda3/bin
Installing easy_install-3.8 script to /home/masaaki/anaconda3/bin

Using /home/masaaki/.local/lib/python3.6/site-packages
Finished processing dependencies for nngen==1.3.0

  1. 2020年05月08日 04:37 |
  2. NNgen
  3. | トラックバック:0
  4. | コメント:0