-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load may MyModel.dnn in C# #2204
Comments
Fast R-CNN requires two inputs (hence "Sequence contains more than one element"), the first is the image and the second are the ROI proposals (see this tutorial for more details). For evaluation in Python see
In C# you would need to create the ROI proposals yourself. We do not have a C# implementation. |
Dear @pkranen |
The model does not predict ROIs, it requires ROIs as an input and predicts whether and which object is in the ROI. You can try Faster R-CNN which has a region proposal network and does not require ROIs as an input. There will be a tutorial added on Faster R-CNN in the coming weeks, for now please use the Readme file in the above folder. |
Dear @pkranen |
i have train my object detection model on FastRCNN using python and save it using save_model("MyModel.dnn").
Now i try to wright script to evaluate it in C#. it throw an exception on following encircle line.
that Error: Sequence contains more than one element.
please help me to solve this problem problem.
This is my code for loading model, i have follow the steps, which is given in CNTK examples
The text was updated successfully, but these errors were encountered: