Skip to content

Checkpoint https://dl.fbaipublicfiles.com/detectron2/COCO-Detection/faster_rcnn_X_101_32x8d_FPN_3x/139173657/model_final_68b088.pkl not found! #2392

@ozgurkan

Description

@ozgurkan

I've been getting an error like this since last night. I trained 5 models, there was no problem. Then there was such a problem. I would be glad if you could help.

WARNING [12/16 08:11:53 d2.data.datasets.coco]:
Category ids in annotations are not in [1, #categories]! We'll apply a mapping for you.

[12/16 08:11:53 d2.data.datasets.coco]: Loaded 36 images in COCO format from /content/train/_annotations.coco.json
[12/16 08:11:53 d2.data.build]: Removed 0 images with no usable annotations. 36 images left.
[12/16 08:11:53 d2.data.common]: Serializing 36 elements to byte tensors and concatenating them all ...
[12/16 08:11:53 d2.data.common]: Serialized dataset takes 0.11 MiB
[12/16 08:11:53 d2.data.detection_utils]: TransformGens used in training: [ResizeShortestEdge(short_edge_length=(640, 672, 704, 736, 768, 800), max_size=1333, sample_style='choice'), RandomFlip()]
[12/16 08:11:53 d2.data.build]: Using training sampler TrainingSampler

AssertionError Traceback (most recent call last)
in ()
34 os.makedirs(cfg.OUTPUT_DIR, exist_ok=True)
35 trainer = CocoTrainer(cfg)
---> 36 trainer.resume_or_load(resume=False)
37 trainer.train()

2 frames
/usr/local/lib/python3.6/dist-packages/fvcore/common/checkpoint.py in load(self, path, checkpointables)
118 if not os.path.isfile(path):
119 path = self.path_manager.get_local_path(path)
--> 120 assert os.path.isfile(path), "Checkpoint {} not found!".format(path)
121
122 checkpoint = self._load_file(path)

AssertionError: Checkpoint https://dl.fbaipublicfiles.com/detectron2/COCO-Detection/faster_rcnn_X_101_32x8d_FPN_3x/139173657/model_final_68b088.pkl not found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions