Skip to content

Files

Latest commit

ffafeed · Apr 15, 2024

History

History
56 lines (37 loc) · 1.77 KB

README.md

File metadata and controls

56 lines (37 loc) · 1.77 KB

Pytorch

version

torch: 1.13.1

Prepare

poetry install

Run

poetry run python pytorch/distributed_example.py

CNN

Input x Filter (kernel) -> Feature Map (Overlapping application)

References

Error

No module named '_lzma'
Traceback (most recent call last):
  File "/Users/nakamasato/repos/nakamasato/ml-training/pytorch/distributed_example.py", line 4, in <module>
    import lzma
  File "/Users/nakamasato/.pyenv/versions/3.9.0/lib/python3.9/lzma.py", line 27, in <module>
    from _lzma import *
ModuleNotFoundError: No module named '_lzma'
brew install xz