2020-08-01から1ヶ月間の記事一覧

jupyter nbconvert --to python xxxx.ipynb

「xxxx.ipynb」 を 「xxxx.py」(Pythonファイル)に変換 jupyter nbconvert --to python xxxx.ipynb

sudo apt-get install ethereum

Welcome to Ubuntu 20.04 LTS (GNU/Linux 4.4.0-18362-Microsoft x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of xxx xxx xx 22:22:2…

AttributeError: 'collections.OrderedDict' object has no attribute 'state_dict'

https://github.com/Microsoft/MMdnn/blob/master/mmdnn/conversion/pytorch/README.md#faq pytorchからtensorflowへのmmconvert: 'dict'オブジェクトには属性 'state_dict'`がありません モデルには重みのみが含まれていることがわかりましたstate_dict。…

pip install onnx

test>pip install onnxCollecting onnx Downloading onnx-1.7.0-cp38-cp38-win_amd64.whl (6.8 MB) |████████████████████████████████| 6.8 MB 29 kB/sRequirement already satisfied: typing-extensions>=3.6.2.1 in d:\software\wpy64-3820\python-3.8.2.…

mmconvertのメモ

https://github.com/Microsoft/MMdnn/blob/master/mmdnn/conversion/_script/convert.py mmconvert -sf pytorch -iw aaaa -in bbbb -df onnx -om cccc.onnx -sf ・・・sauce(変換元)のframework-iw ・・・入力inputする重みfile-in ・・・入力inputするnetwo…

>pip install mmdnn >etc

test>pip install mmdnnCollecting mmdnn Downloading mmdnn-0.3.1-py2.py3-none-any.whl (318 kB) |████████████████████████████████| 318 kB 11 kB/sRequirement already satisfied: six>=1.10.0 in d:\software\wpy64-3820\python-3.8.2.amd64\lib\site-…

ITとAIについて思うこと

ITは左脳であり AIは右脳である 双方は、バランスよく共存していく関係脳であり、対立概念ではない。