Skip to content

IndexError: Index out of range #5

@Amanda-Barbara

Description

@Amanda-Barbara

Hi, I have generated my own data,there has some issues like below when I trained,
I0906 03:52:38.055449 145076 layer_factory.hpp:77] Creating layer data
I0906 03:52:38.056452 145076 net.cpp:86] Creating Layer data
I0906 03:52:38.056471 145076 net.cpp:382] data -> data
I0906 03:52:38.056488 145076 net.cpp:382] data -> bbox_target
I0906 03:52:38.056497 145076 net.cpp:382] data -> label
Traceback (most recent call last):
File "jfda/train.py", line 123, in
solver = Solver(solver_prototxt, args)
File "jfda/train.py", line 60, in init
self.solver = caffe.SGDSolver(tmp_solver_prototxt)
File "/home/ll/Project/Object_Detection/mtcnn-head-detection/layers/data_layer.py", line 55, in setup
self.reshape(bottom, top)
File "/home/ll/Project/Object_Detection/mtcnn-head-detection/layers/data_layer.py", line 61, in reshape
top[3].reshape(self.n)
IndexError: Index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions