Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Error in 3_runCntk.py #27

@guangying94

Description

@guangying94

Hi, I followed the sequences shown in documentation, but I faced this error when I tried to execute 3_runCntk.py. After it loaded pre-trained model, this is the error I received.

Traceback (most recent call last):
File "3_runCntk.py", line 20, in
cntk_lr_per_image, cntk_l2_reg_weight, cntk_momentum_time_constant, cntkFilesDir, boSkipTraining)
File "D:\Marcus\CNTK\ObjectDetectionUsingCntk\helpers_cntk.py", line 102, in init_train_fast_rcnn
frcn_output, frcn_penultimateLayer = frcn_predictor(image_input, roi_input, num_classes, base_path)
File "D:\Marcus\CNTK\ObjectDetectionUsingCntk\helpers_cntk.py", line 77, in frcn_predictor
roi_out = roipooling(conv_out, rois, (roi_dim, roi_dim))
File "D:\Marcus\CNTK\Anaconda3\envs\cntk-py35\lib\site-packages\cntk\internal\swig_helper.py", line 69, in wrapper
result = f(*args, **kwds)
TypeError: roipooling() missing 2 required positional arguments: 'roi_output_shape' and 'spatial_scale'

How do I generate the required arguments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions