predict_Lottery_ticket icon indicating copy to clipboard operation
predict_Lottery_ticket copied to clipboard

M1芯片报错illegal hardware instruction

Open fniks opened this issue 1 year ago • 1 comments

python run_train_model.py --name ssq zsh: illegal hardware instruction python run_train_model.py --name ssq

之前用Intel芯片的Mac没问题,换成M1的Mac笔记本了,就报这个错了,有兄弟能解决吗

fniks avatar Oct 20 '23 09:10 fniks

我這裡的解決辦法是:

  1. 我用Anaconda創建一個環境 conda create -n your_env_name python=3.10
  2. 激活環境 conda activate your_env_name
  3. 用conda安裝tensorflow conda install -c conda-forge tensorflow

debugbee avatar Mar 06 '24 02:03 debugbee