failmaio.blogg.se

Instaling Coco
Instaling Coco













instaling Coco

Hello.I am trying to install this and getting following error. TypeError: 'NoneType' object is not callable Self.add_class("coco", i, coco.loadCats(i))įile "/home/f214/anaconda2/envs/maskrcnn/lib/python3.4/site-packages/pycocotools-2.0-p圓.4-linux-x86_64.egg/pycocotools/coco.py", line 218, in loadCatsįile "/home/f214/anaconda2/envs/maskrcnn/lib/python3.4/site-packages/pycocotools-2.0-p圓.4-linux-x86_64.egg/pycocotools/coco.py", line 218, inįile "/home/f214/anaconda2/envs/maskrcnn/lib/python3.4/site-packages/tensorflow/python/client/session.py", line 712, in del When I evaluate the model with full classes it works well, however, if I assign a class (such as dog or car)using dataset_val.load_coco(), I get an error:Ĭoco = dataset_val.load_coco(args.dataset, "val", class_ids=class_names, year=args.year, return_coco=True, auto_download=args.download) Run 'conda install notebook' in the env and jupyter notebook I use cocotools, and I meet the following problems. However, I still get the ModuleNotFoundError: No module named 'pycocotools' Then I see pycocotools in my site-package: home/jkuo/miniconda3/envs/test/bin/python setup.py build_ext install # install pycocotools to the Python site-packages home/jkuo/miniconda3/envs/test/bin/python setup.py build_ext -inplace I tried the suggestion from and modified my make file to: However, I am opened to suggestions if anyone can tell me how to install to conda environment using make. I am avoiding make install because I am not familiar with make and I don't want to accidentally install things outside of my conda environment. It prompts me for username and I don't think it is asking for my username.ĭoes anyone know how to get around this issue?

instaling Coco

When i try to run conda_env/bin/pip install git+ I am using miniconda and i want to install the pycocotools to me conda environment, not my global environment















Instaling Coco