facebookresearch / CutLER

Code release for "Cut and Learn for Unsupervised Object Detection and Instance Segmentation" and "VideoCutLER: Surprisingly Simple Unsupervised Video Instance Segmentation"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When I perform self-training I get an error file

tangpanyu opened this issue · comments

When I perform self-training I get an "./CutLER/cutler/output/inference/instances_predictions.pth"
python train_net.py --num-gpus 8 \ --config-file model_zoo/configs/CutLER-ImageNet/cascade_mask_rcnn_R_50_FPN.yaml \ --test-dataset imagenet_train \ --eval-only TEST.DETECTIONS_PER_IMAGE 30 \ MODEL.WEIGHTS output/model_final.pth \ # load previous stage/round checkpoints OUTPUT_DIR output/ # path to save model predictions

So i can not do next step.
Traceback (most recent call last): File "tools/get_self_training_ann.py", line 111, in <module> with PathManager.open(new_pred, "r") as f: File "/data1/hp/anaconda3/envs/tpy/lib/python3.8/site-packages/iopath/common/file_io.py", line 1012, in open bret = handler._open(path, mode, buffering=buffering, **kwargs) # type: ignore File "/data1/hp/anaconda3/envs/tpy/lib/python3.8/site-packages/iopath/common/file_io.py", line 604, in _open return open( # type: ignore FileNotFoundError: [Errno 2] No such file or directory: 'output/inference/coco_instances_results.json'