我想使用這個(gè)腳本制作一個(gè) deepdream 視頻: https: //github.com/graphific/DeepDreamVideo。我必須對(duì)其進(jìn)行一些更改,但現(xiàn)在我收到此錯(cuò)誤:Traceback (most recent call last): File "C:\Users\Daniel\Desktop\deepdream-master\2_dreaming_time.py", line 20, in <module> import caffe File "C:\Users\Daniel\Desktop\deepdream-master\caffe\python\caffe\__init__.py", line 1, in <module> from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer File "C:\Users\Daniel\Desktop\deepdream-master\caffe\python\caffe\pycaffe.py", line 13, in <module> from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \ModuleNotFoundError: No module named 'caffe._caffe'我已經(jīng)安裝了caffe,pip install caffe-ssd-x86但它并沒(méi)有解決這個(gè)問(wèn)題。我使用的是 Windows 10 和 Python 3.8對(duì)于這個(gè)問(wèn)題你有什么解決辦法嗎?我在谷歌上搜索答案但找不到任何答案,提前感謝您的幫助!
3 回答

墨色風(fēng)雨
TA貢獻(xiàn)1853條經(jīng)驗(yàn) 獲得超6個(gè)贊
遇到同樣的問(wèn)題,在使用 GPU 的 Windows 中安裝 Caffe 后導(dǎo)入 Caffe 時(shí),可以通過(guò)復(fù)制<CAFFE installation>/caffe/python/caffe/
到來(lái)修復(fù)它<Python Directory>/Lib/site-packages
希望這會(huì)有所幫助,一切順利..!
添加回答
舉報(bào)
0/150
提交
取消