Skip to content

SWIG director method error #2

@hadign20

Description

@hadign20

I am trying to train a custom data by following the instructions. But after I created the train_img_file and train_roi_file, and run the train.bat I faced the following error:

> Traceback (most recent call last):
>   File "cntk\ops\functions.py", line 1681, in _forward
>   File "utils\rpn\anchor_target_layer.py", line 179, in forward
> ValueError: attempt to get argmax of an empty sequence
> Traceback (most recent call last):
>   File "FasterRCNN_Train_SE.py", line 100, in <module>
>   File "utils\FasterRCNN_train.py", line 289, in train_faster_rcnn
>   File "utils\FasterRCNN_train.py", line 325, in train_faster_rcnn_e2e
>   File "utils\FasterRCNN_train.py", line 584, in train_model
>   File "cntk\train\trainer.py", line 170, in train_minibatch
>   File "cntk\cntk_py.py", line 2804, in train_minibatch_overload_for_minibatchdata
> RuntimeError: SWIG director method error.
> [6352] Failed to execute script FasterRCNN_Train_SE

Can this mean there is sth wrong with the annotations?

untitled

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