Closed Quincy567 closed 4 years ago
According to https://github.com/pytorch/pytorch/issues/14940#issuecomment-450303336 it seems that on windows, the official pytorch package does not include caffe2 components.
Thanks! I will build caffe2 myself on windows and try again.
@Quincy567 Did you have any luck with getting the Caffe2 model to work on windows?
We can't provide much help on windows. But now there is a C++ inference example that works on Linux. https://detectron2.readthedocs.io/tutorials/deployment.html#use-the-model-in-c-python
Hello, First,I have exported “COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_1x.yaml” model(trained in my dataset) to caffe2 model using "caffe2_converter.py". Second, I used caffe2 api in libtorch(CPU edition in pytorch.org, 1.4 and 1.5-preview all have tried) to deploy model, an exception occured "Cannot find operator schema for Cast. Will skip schema checking",and it shutdown, how can I solve it???
Environment: model is trained and exported to caffe2 in Ubuntu Server 18.04 , deployed in Win10 X64, VisualStudio2019(using Visual Studio 2017 (v141) toolchain, x64, libtorch 1.4 or 1.5 preview all tried, pytorch1.4 or 1.5 preview all tried ). Detectron2 edition:latest. Codes: