Coder Social home page Coder Social logo

a test problem about centernet HOT 9 OPEN

duankaiwen avatar duankaiwen commented on September 13, 2024
a test problem

from centernet.

Comments (9)

ZhenLiuBuaa avatar ZhenLiuBuaa commented on September 13, 2024

so,the output file results.json is a empty list

from centernet.

ZhenLiuBuaa avatar ZhenLiuBuaa commented on September 13, 2024

i made some change to this code
I change the torch.backends.cudnn.benchmark = False for a train error
I set the cuda devices = 1
i dont know weather the test problem is caused by these

from centernet.

ZhenLiuBuaa avatar ZhenLiuBuaa commented on September 13, 2024

i find in test process ,kp.py line 265, kp = kp_(inter)
kp data is unnormal ,some value is bigger than 1e30 and inter data is right

from centernet.

ZhenLiuBuaa avatar ZhenLiuBuaa commented on September 13, 2024

this is kp data @Duankaiwen
kp.txt

_

from centernet.

ZhenLiuBuaa avatar ZhenLiuBuaa commented on September 13, 2024

this is the test error
Traceback (most recent call last):
File "test.py", line 99, in
test(testing_db, args.split, args.testiter, args.debug, args.suffix)
File "test.py", line 61, in test
testing(db, nnet, result_dir, debug=debug)
File "/home/lz/python/CenterNet/CenterNet-master/test/coco.py", line 321, in testing
return globals()[system_configs.sampling_function](db, nnet, result_dir, debug=debug)
File "/home/lz/python/CenterNet/CenterNet-master/test/coco.py", line 317, in kp_detection
db.evaluate(result_json, cls_ids, image_ids)
File "/home/lz/python/CenterNet/CenterNet-master/db/coco.py", line 176, in evaluate
coco_dets = coco.loadRes(result_json)
File "data/coco/PythonAPI/pycocotools/coco.py", line 318, in loadRes
if 'caption' in anns[0]:
IndexError: list index out of range

from centernet.

Duankaiwen avatar Duankaiwen commented on September 13, 2024

@ZhenLiuBuaa Sorry, i'm a little busy these days, so i did't reply to you immediately. Please put 'pdb.set_trace()' in line 93 in test/coco.py to make sure the images are read correctly.

from centernet.

ZhenLiuBuaa avatar ZhenLiuBuaa commented on September 13, 2024

from centernet.

yushanshan05 avatar yushanshan05 commented on September 13, 2024

@ZhenLiuBuaa I met the same problem. Can you telll me how to solve this problem. Thanks!

from centernet.

ZhenLiuBuaa avatar ZhenLiuBuaa commented on September 13, 2024

@ZhenLiuBuaa I met the same problem. Can you telll me how to solve this problem. Thanks!

i think if you want test the model,you should set cudnn.benchmark=True.if not ,you can train your model with cudnn.benchmark=False

from centernet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.