I recently trained a Visual ChangeNet segmentation MVTec model for anomaly detection using the TAO Toolkit. After training, I tested the model’s functionality using the tao inference command and successfully generated the .onnx file using the tao export command.
Now, I’m eager to deploy this trained model for anomaly detection in DeepStream. However, I’m facing difficulties in finding reference materials on how to set up the primary config file.
Could someone please guide me on how to create the primary config file to run this model in DeepStream?
Sorry for the late reply, Is this still an DeepStream issue to support? Thanks! the Visual ChangeNet Segmentation - MvTEC model requires two images as inputs. you need to use nvdspreprocess plugin to package the preprocessed images to tensor, then pass the tensor to nvinfer/nvinferserver.
first you can use gst-launch to debug. the two input pictures need to one-to-one conrrespondence. you can use one preprocess to add one picture’s tensor, then use another preprocess to add the other picture’s tensor. please refer to sample deepstream-preprocess-test for the usage of nvdspreprocess.
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks