facebookresearch / facebookresearch/CutLER

When I perform self-training I get an error file

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.1k
Forks
109
PR merge metrics
No merged PRs in 30d

Description

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
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'`

Contributor guide

Open the contributing guide

Research direction

Start with tools/get_self_training_ann.py at line 111 and the preceding self-training command using train_net.py. Check why output/inference/coco_instances_results.json is not present when the script runs; done means the next self-training step can open the expected prediction file without FileNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.