Comments (6)
If I do not have the above modifications, an error will be reported:
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 5000/5000, 5.1 task/s, elapsed: 978s, ETA: 0s
Evaluating bbox...
Loading and preparing results...
The testing results of the whole dataset is empty.
from universenet.
Object instance annotations in COCO format should contain the area
field.
Please modify your json files by calculating width * height
to assign area
.
the following errors
What do the errors mean?
Low AP and nan (loss: inf
) may be caused by training instability (e.g., too high learning rate).
I recommend using simple detectors (e.g., retinanet_r50_fpn_1x_coco.py
) to debug your dataset before trying recent detectors.
Especially, detectors not supported in the original mmdetection have not been verified by many users.
from universenet.
Hello, if the dataset I use is marked in Chinese, how can I modify the dataset to read Chinese text?
from universenet.
I haven't tried category names written in Chinese.
Are there any errors?
from universenet.
I just changed Chinese into English, and found or reported the same error, as shown below. Should it be the problem of my data set? What do you think?
2021-10-09 16:31:16,491 - mmdet - INFO - Saving checkpoint at 1 epochs
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 7320/7313, 65.4 task/s, elapsed: 112s, ETA: 0s
2021-10-09 16:37:00,650 - mmdet - INFO - Evaluating bbox...
Loading and preparing results...
DONE (t=0.52s)
creating index...
index created!
Running per image evaluation...
Evaluate annotation type bbox
Traceback (most recent call last):
File "tools/train.py", line 189, in
main()
File "tools/train.py", line 185, in main
meta=meta)
File "/root/lws/UniverseNet/mmdet/apis/train.py", line 212, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run
epoch_runner(data_loaders[i], **kwargs)
File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 54, in train
self.call_hook('after_train_epoch')
File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/base_runner.py", line 307, in call_hook
getattr(hook, fn_name)(self)
File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/hooks/evaluation.py", line 237, in after_train_epoch
self._do_evaluate(runner)
File "/root/lws/UniverseNet/mmdet/core/evaluation/eval_hooks.py", line 58, in _do_evaluate
key_score = self.evaluate(runner, results)
File "/opt/conda/lib/python3.7/site-packages/mmcv/runner/hooks/evaluation.py", line 325, in evaluate
results, logger=runner.logger, **self.eval_kwargs)
File "/root/lws/UniverseNet/mmdet/datasets/coco.py", line 497, in evaluate
cocoEval.evaluate()
File "/opt/conda/lib/python3.7/site-packages/pycocotools/cocoeval.py", line 149, in evaluate
for imgId in p.imgIds
File "/opt/conda/lib/python3.7/site-packages/pycocotools/cocoeval.py", line 150, in
for catId in catIds}
File "/opt/conda/lib/python3.7/site-packages/pycocotools/cocoeval.py", line 188, in computeIoU
iscrowd = [int(o['iscrowd']) for o in gt]
File "/opt/conda/lib/python3.7/site-packages/pycocotools/cocoeval.py", line 188, in
iscrowd = [int(o['iscrowd']) for o in gt]
KeyError: 'iscrowd'
Traceback (most recent call last):
File "/opt/conda/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/opt/conda/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.7/site-packages/torch/distributed/launch.py", line 261, in
main()
File "/opt/conda/lib/python3.7/site-packages/torch/distributed/launch.py", line 257, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/opt/conda/bin/python', '-u', 'tools/train.py', '--local_rank=7', 'configs/faster_rcnn/faster_rcnn_r101_fpn_1x_coco.py', '--launcher', 'pytorch']' returned non-zero exit status 1.
root@worker02:~/lws/UniverseNet#
from universenet.
Thank you for your reply. I think I have found the error
from universenet.
Related Issues (20)
- Have you tried using autoassign in RelationNet++? HOT 2
- Is there an object relation module in your code HOT 1
- the training duration of relationnet ++ HOT 9
- UniverseNet using experience HOT 1
- There are many memory occupation in GPU0 HOT 1
- Multi gpu training HOT 1
- Hardware requirements for trainning Waymo Open Dataset HOT 3
- inference annotations as strings? HOT 1
- Test picture HOT 4
- UniverseNet Pretrained on Manga109 HOT 1
- Extract outputs from various layers of model HOT 1
- visualization technologies HOT 1
- Pre-trained checkpoints on Waymo Open Dataset HOT 1
- How can i use yolox with HOT 1
- f'{obj_type} is not in the {registry.name} registry') KeyError: 'WaymoOpenDataset is not in the dataset registry' and python -m torch.distributed.launch --nproc_per_node=$GPUS --master_port=$PORT \ SyntaxError: invalid syntax HOT 11
- YOLOv4 of mmdet. version HOT 1
- How to calculate mAP for each category for waymo 2D object detection HOT 7
- How to save the predicted bbox in a file? HOT 1
- Welcome update to OpenMMLab 2.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universenet.