ApolloScapeAuto / dataset-api

The ApolloScape Open Dataset for Autonomous Driving and its Application.

Home Page:http://apolloscape.auto/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eval.py in 3d object detection doesn't work

Tartisan opened this issue · comments

I used part of train dataset to evalute my detection results, but it seems doesn't work.

ValueError
cannot reshape array of size 35 into shape (6,5)
  File "/home/tartisan/work/github/dataset-api/3d_detection_tracking/eval.py", line 334, in assignPair
    subPair = pair[mask].reshape(subShape)
  File "/home/tartisan/work/github/dataset-api/3d_detection_tracking/eval.py", line 373, in seekBijection
    framePairs[:gtNum, dtInds] = np.multiply(assignPair(score, pair), ~invalidInds)
  File "/home/tartisan/work/github/dataset-api/3d_detection_tracking/eval.py", line 456, in evaluate
    typeFilterFlag, gtCubeTypes[objType], dtCubeTypes[objType])
  File "/home/tartisan/work/github/dataset-api/3d_detection_tracking/eval.py", line 488, in main
    evaluate(args.modeType, args.dataType, dtPath, evalList, args.objTypes, args.minScores, objIdFlag, args.minIoUs, args.typeFilterFlag, gts, args.apSampleNum)
  File "/home/tartisan/work/github/dataset-api/3d_detection_tracking/eval.py", line 493, in <module>
    main()