facebookresearch / CutLER

Code release for "Cut and Learn for Unsupervised Object Detection and Instance Segmentation" and "VideoCutLER: Surprisingly Simple Unsupervised Video Instance Segmentation"
Other
913 stars 90 forks source link

When I perform self-training I get an error file #63

Open tangpanyu opened 4 months ago

tangpanyu commented 4 months ago

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'