没有名为“checkpoints”的模块。Conv.Neural Network Examp

2024-06-17 11:41:50 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着遵循这个例子:https://www.freecodecamp.org/news/how-to-classify-photos-in-600-classes-using-nine-million-open-images-65847da1a319/?fbclid=IwAR0CaSJaAwSE3up39A4DwCjwMckVULfae_AqcIcPBlUDYRcml5yO_Ct2_DA

https://github.com/quiltdata/open-images.git

当我做这些的时候:

git clone https://github.com/quiltdata/open-images.git
cd open-images/
conda env create -f environment.yml    
source activate quilt-open-images-dev
cd src/openimager/
python openimager.py "Sandwiches" "Hamburgers"

我得到一个错误:

(quilt-open-images-dev) C:\Users\MONSTER\Desktop\open-images-master\open- images-master\src\openimager>openimager.py "Sandwiches" Traceback (most recent call last): File "C:\Users\MONSTER\Desktop\open-images-master\open-images- master\src\openimager\openimager.py", line 12, in from checkpoints import checkpoints ModuleNotFoundError: No module named 'checkpoints'

这是内部的环境.yml地址:

name: quilt-open-images-dev

dependencies: - python=3.6 - pandas - requests - jupyter - pip: - tqdm - ratelim - checkpoints - t4

我尝试了这个,而被打开的图像开发是激活:pip安装检查点

我该如何解决这个问题,还是需要在下载这些图片之前做更多的工作?你知道吗


Tags: inpyhttpsdevgitsrcgithubmaster