在跑pytorch代碼時候遇到這個問題:
ImportError: No module named 'torchsample'
安裝相關依賴即可:
如果沒有裝git的同學,要先裝上git:
pip3 install git
pip install -e git+https://github.com/ncullen93/torchsample.git#egg=torchsample
pip install visdom
pip install nibabel
pip install h5py # this will be removed in the formal version
重新測試一下代碼,應該沒有問題了!
搬運自:https://github.com/MVIG-SJTU/AlphaPose/issues/71