You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/05/23 02:16:50 UTC

[GitHub] [incubator-mxnet] zhaotun commented on issue #13520: Check failed: b < len (21 vs. 21) slicing with begin[0]=21 exceends limit of 21

zhaotun commented on issue #13520: Check failed: b < len (21 vs. 21) slicing with begin[0]=21 exceends limit of 21
URL: https://github.com/apache/incubator-mxnet/issues/13520#issuecomment-495041518
 
 
   I get the same error when train my own dataset. I use VOCLike to load my dataset which described at 
   [https://gluon-cv.mxnet.io/build/examples_datasets/detection_custom.html](url),and i change the CLASSES to my own classnames ,such as CLASSES=['1','2','3', ... ,'32'],i have 32 classes and the classname is  from 1 to 32, then start the train , get the error 'Check failed: b < len (25 vs. 20) slicing with begin[3]=25 exceends limit of 20' , after many tries ,I found that the CLASSES in "C:\ProgramData\Anaconda3\Lib\site-packages\gluoncv\data\pascal_voc\detection.py" also need to be changed, when i changed it to my own classnames , the error disappeared . holp to be helpful.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services