Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSD/PyTorch] The JSON element does not have the requested type #1422

Open
ksv87 opened this issue Sep 5, 2024 · 0 comments
Open

[SSD/PyTorch] The JSON element does not have the requested type #1422

ksv87 opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ksv87
Copy link

ksv87 commented Sep 5, 2024

Related to Model/Framework(s)
SSD/PyTorch

Describe the bug

DLL 2024-09-05 08:00:14.587129 - PARAMETER dataset path : /coco  epochs : 65  batch size : 64│F1Help  F2Setup F3SearchF4FilterF5List  F6SortByF7Nice -F8Nice +F9Kill  F10Quit
  eval batch size : 32  no cuda : False  seed : None  checkpoint path : None  mode : training├──────────────────────────────────────────────────────────────────────────────────────────────  eval on epochs : [21, 31, 37, 42, 48, 53, 59, 64]  lr decay epochs : [43, 54]  learning rat│ksv@neroksv:~$
e : 0.0026  momentum : 0.9  weight decay : 0.0005  lr warmup : 300  backbone : resnet50  back│
bone path : None  num workers : 8  AMP : True  precision : amp                               │
Using seed = 6772                                                                            │
Loading annotations into memory...                                                           │
Done (t=0.03s)                                                                               │
Creating index...                                                                            │
terminate called after throwing an instance of 'simdjson::simdjson_error'                    │
  what():  The JSON element does not have the requested type.                                │
Aborted (core dumped)  

To Reproduce
Steps to reproduce the behavior:

  1. Install https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Detection/SSD#quick-start-guide
  2. Set COCO_DIR to my custom dataset
  3. Change
    https://github.com/NVIDIA/DeepLearningExamples/blob/729963dd47e7c8bd462ad10bfac7a7b0b604e6dd/PyTorch/Detection/SSD/ssd/model.py#L61C9-L61C54
    to my class count + 1
  4. Launch python main.py --backbone resnet50 --warmup 300 --bs 64 --d│ 565 root 0.0 0.0 0:00.58 ├─ /lib/systemd/systemd-journald ata /coco

Expected behavior
A clear and concise description of what you expected to happen.

Environment
Please provide at least:

  • Container version (22.10-py3):
  • GPUs in the system: (1 NVIDIA RTX A5000 - 24GB):
  • CUDA driver version (545.23.08):
@ksv87 ksv87 added the bug Something isn't working label Sep 5, 2024
@ksv87 ksv87 changed the title [Model/Framework] What is the problem? [SSD/PyTorch] The JSON element does not have the requested type Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant