mlcpp icon indicating copy to clipboard operation
mlcpp copied to clipboard

Error message after running demo

Open deism opened this issue 6 years ago • 2 comments

Now demo can load new pre-trained file in Pytorch 1.01 and Window 10 environment, thanks for upgrading!

But there is a error message as: "invalid argument 12: dilation should be greater than zero, but got dilationH: 508814473 dilationW: 0 at c:\a\w\1\s\windows\pytorch\aten\src\thcunn\generic/SpatialDilatedMaxPooling.cu:20"

The error is from: auto [detections, mrcnn_mask] = model->Detect(molded_images, image_metas); => PredictInference(images, image_metas); => PredictRPN(images, config_->post_nms_rois_inference); => fpn_->forward(images); =>x = c1_->forward(x);

I use demo code as is, it seems model and weights are not matched, any clues?

deism avatar Feb 20 '19 17:02 deism

Sorry, I've tested demo on Linux and everything works in my environment. But I don't have Windows environment to test, it will be nice if you can send a patch to fix this problem.

Kolkir avatar Mar 03 '19 17:03 Kolkir

@deism Could yo make it work on windows?

ahasan016 avatar Mar 30 '20 19:03 ahasan016