facebookresearch / maskrcnn-benchmark

Fast, modular reference implementation of Instance Segmentation and Object Detection algorithms in PyTorch.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'yacs'

Leo0408 opened this issue · comments

❓ Questions and Help

I have installed yacs successfully :
"Installing collected packages: yacs
Successfully installed yacs-0.1.8"

But there are always "modulenotfound" errors:
"Traceback (most recent call last):
File "webcam.py", line 5, in
from maskrcnn_benchmark.config import cfg
File "/home/qian/jiang/TinyBenchmark/tiny_benchmark/maskrcnn_benchmark/config/init.py", line 2, in
from .defaults import _C as cfg
File "/home/qian/jiang/TinyBenchmark/tiny_benchmark/maskrcnn_benchmark/config/defaults.py", line 4, in
from yacs.config import CfgNode as CN
ModuleNotFoundError: No module named 'yacs''

Even after i tried to uninstall and reinstall yacs, it still remained the same error.
Would it be the edition of the yacs?

Try installing with conda. Worked for me.

conda install yacs