Closed KHKHG closed 3 years ago
You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template. The following information is missing: "Instructions To Reproduce the Issue and Full Logs";
FULL LOGS:
[02/15 13:28:55 d2.data.build]: Removed 1021 images with no usable annotations. 117266 images left. [02/15 13:29:03 d2.data.build]: Distribution of instances among all 80 categories: | category | #instances | category | #instances | category | #instances |
---|---|---|---|---|---|---|
person | 257253 | bicycle | 7056 | car | 43533 | |
motorcycle | 8654 | airplane | 5129 | bus | 6061 | |
train | 4570 | truck | 9970 | boat | 10576 | |
traffic light | 12842 | fire hydrant | 1865 | stop sign | 1983 | |
parking meter | 1283 | bench | 9820 | bird | 10542 | |
cat | 4766 | dog | 5500 | horse | 6567 | |
sheep | 9223 | cow | 8014 | elephant | 5484 | |
bear | 1294 | zebra | 5269 | giraffe | 5128 | |
backpack | 8714 | umbrella | 11265 | handbag | 12342 | |
tie | 6448 | suitcase | 6112 | frisbee | 2681 | |
skis | 6623 | snowboard | 2681 | sports ball | 6299 | |
kite | 8802 | baseball bat | 3273 | baseball gl.. | 3747 | |
skateboard | 5536 | surfboard | 6095 | tennis racket | 4807 | |
bottle | 24070 | wine glass | 7839 | cup | 20574 | |
fork | 5474 | knife | 7760 | spoon | 6159 | |
bowl | 14323 | banana | 9195 | apple | 5776 | |
sandwich | 4356 | orange | 6302 | broccoli | 7261 | |
carrot | 7758 | hot dog | 2884 | pizza | 5807 | |
donut | 7005 | cake | 6296 | chair | 38073 | |
couch | 5779 | potted plant | 8631 | bed | 4192 | |
dining table | 15695 | toilet | 4149 | tv | 5803 | |
laptop | 4960 | mouse | 2261 | remote | 5700 | |
keyboard | 2854 | cell phone | 6422 | microwave | 1672 | |
oven | 3334 | toaster | 225 | sink | 5609 | |
refrigerator | 2634 | book | 24077 | clock | 6320 | |
vase | 6577 | scissors | 1464 | teddy bear | 4729 | |
hair drier | 198 | toothbrush | 1945 | |||
total | 849949 |
[02/15 13:29:03 d2.data.build]: Using training sampler TrainingSampler
[02/15 13:29:03 d2.data.common]: Serializing 117266 elements to byte tensors and concatenating them all ...
[02/15 13:29:09 d2.data.common]: Serialized dataset takes 451.21 MiB
[02/15 13:29:14 fvcore.common.checkpoint]: No checkpoint found. Initializing model from scratch
[02/15 13:29:14 adet.trainer]: Starting training from iteration 0
/root/AdelaiDet/detectron2/detectron2/structures/masks.py:348: UserWarning: This overload of nonzero is deprecated:
nonzero()
Consider using one of the following signatures instead:
nonzero(, bool as_tuple) (Triggered internally at /opt/conda/conda-bld/pytorch_1595629427478/work/torch/csrc/utils/python_arg_parser.cpp:766.)
item = item.nonzero().squeeze(1).cpu().numpy().tolist()
Traceback (most recent call last):
File "tools/train_net.py", line 213, in
/root/AdelaiDet/detectron2/detectron2/structures/masks.py:348: UserWarning: This overload of nonzero is deprecated: nonzero() Consider using one of the following signatures instead: nonzero(, bool as_tuple) (Triggered internally at /opt/conda/conda-bld/pytorch_1595629427478/work/torch/csrc/utils/python_arg_parser.cpp:766.) item = item.nonzero().squeeze(1).cpu().numpy().tolist() /root/AdelaiDet/detectron2/detectron2/structures/masks.py:348: UserWarning: This overload of nonzero is deprecated: nonzero() Consider using one of the following signatures instead: nonzero(, bool as_tuple) (Triggered internally at /opt/conda/conda-bld/pytorch_1595629427478/work/torch/csrc/utils/python_arg_parser.cpp:766.) item = item.nonzero().squeeze(1).cpu().numpy().tolist()
File "/root/AdelaiDet/adet/data/dataset_mapper.py", line 207, in call basis_sem_gt = np.load(basis_sem_path)["mask"] File "/usr/local/miniconda3/envs/ADNET/lib/python3.7/site-packages/numpy/lib/npyio.py", line 416, in load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: 'datasets/coco/thing_train2017/000000009725.npz'
The code that loads the file does not come from this project.
The .npz file needs to be generated by the script prepare_thing_sem_from_instance.py for training BlendMask model. Please refer to this page.
/root/AdelaiDet/detectron2/detectron2/structures/masks.py:348: UserWarning: This overload of nonzero is deprecated: nonzero() Consider using one of the following signatures instead: nonzero(, bool as_tuple) (Triggered internally at /opt/conda/conda-bld/pytorch_1595629427478/work/torch/csrc/utils/python_arg_parser.cpp:766.) item = item.nonzero().squeeze(1).cpu().numpy().tolist() /root/AdelaiDet/detectron2/detectron2/structures/masks.py:348: UserWarning: This overload of nonzero is deprecated: nonzero() Consider using one of the following signatures instead: nonzero(, bool as_tuple) (Triggered internally at /opt/conda/conda-bld/pytorch_1595629427478/work/torch/csrc/utils/python_arg_parser.cpp:766.) item = item.nonzero().squeeze(1).cpu().numpy().tolist()