Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cannot reshape array of size 4694562 into shape(1024, 512,3,3)

Found,
If you are training a custom model with a number of class != 80, 
so to speak something different than the pre-trained weights ; 
you will have to create your own class file (class.names) under data 
and set this new file in the config.py file as during the model creation, 
the number of class is automatically deduces
Source by github.com #
 
PREVIOUS NEXT
Tagged: #reshape #array #size
ADD COMMENT
Topic
Name
2+1 =