seigot / tetris

A Tetris Game for programming education in Japanese
MIT License
30 stars 107 forks source link

MacBook Pro (Apple Silicon, M1 PRO, 2021) でPython開発環境を整える #49

Open seigot opened 2 years ago

seigot commented 2 years ago

MacBook Pro (Apple Silicon, M1 PRO, 2021) でPython開発環境を整える https://zenn.dev/eisukeito/articles/530313bdb4d42a

seigot commented 1 year ago

homebrewからインストールすると割と簡単にいけたりする

brew install python
brew install pyqt5
brew install numpy
git clone https://github.com/seigot/tetris
cd tetris
python3 start.py -l1
seigot commented 1 year ago

pytorchを使うためのインストール手順(MacBookPro M1 coreで実績あり)

pip3 install -U pip
pip3 install torch
pip3 install tensorboardX
python3 -c "import torch"
python3 start.py -m train_sample -d 1 -l 2 -t -1
python3 start.py -m predict_sample -l 2 --predict_weight weight/DQN/sample_weight.pt

https://qiita.com/seigot/items/fbed65cfa4e28a960d89

gitauto-ai[bot] commented 2 weeks ago

Hey, I'm a bit lost here! Not sure which file I should be fixing. Could you give me a bit more to go on? Maybe add some details to the issue or drop a comment with some extra hints? Thanks!

Have feedback or need help? Feel free to email info@gitauto.ai.