Hi
when i run this ./segnet-camera with my jetson xavier and my logitech c930e camera, i have this error:
[TRT] TensorRT version 5.0.3
[TRT] detected model format - caffe (extension ‘.caffemodel’)
[TRT] desired precision specified for GPU: FASTEST
[TRT] requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT] native precisions detected for GPU: FP32, FP16, INT8
[TRT] selecting fastest native precision for GPU: FP16
[TRT] attempting to open engine cache file networks/FCN-Alexnet-Cityscapes-HD/snapshot_iter_367568.caffemodel.2.1.GPU.FP16.engine
[TRT] cache file not found, profiling network model on device GPU
[TRT] device GPU, loading networks/FCN-Alexnet-Cityscapes-HD/deploy.prototxt networks/FCN-Alexnet-Cityscapes-HD/snapshot_iter_367568.caffemodel
[TRT] CaffeParser: Could not parse binary model file
[TRT] CaffeParser: Could not parse model file
[TRT] device GPU, failed to parse caffe network
device GPU, failed to load networks/FCN-Alexnet-Cityscapes-HD/snapshot_iter_367568.caffemodel
segNet – failed to initialize.
segnet-camera: failed to initialize imageNet
Also, i try with this:
./segnet-camera --prototxt=$NET/deploy.prototxt --model=$NET/snapshot_iter_2756640.caffemodel --labels=$NET/cityscapes-labels.txt --colors=$NET/cityscapes-deploy-colors.txt
[TRT] TensorRT version 5.0.3
[TRT] detected model format - caffe (extension ‘.caffemodel’)
[TRT] desired precision specified for GPU: FASTEST
[TRT] requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT] native precisions detected for GPU: FP32, FP16, INT8
[TRT] selecting fastest native precision for GPU: FP16
[TRT] attempting to open engine cache file .2.1.GPU.FP16.engine
[TRT] cache file not found, profiling network model on device GPU
[TRT] device GPU, loading
[TRT] CaffeParser: Could not open file
[TRT] CaffeParser: Could not parse model file
[TRT] device GPU, failed to parse caffe network
device GPU, failed to load
segNet – failed to initialize.
segnet-camera: failed to initialize imageNet
device GPU, failed to load networks/FCN-Alexnet-Cityscapes-HD/snapshot_iter_367568.caffemodel
Could you check if the model do exist on the folder first?
${execution DIR}/networks/FCN-Alexnet-Cityscapes-HD/deploy.prototxt
${execution DIR}/networks/FCN-Alexnet-Cityscapes-HD/snapshot_iter_367568.caffemodel
error: model file ‘networks/FCN-Alexnet-Cityscapes-SD/snapshot_iter_114860.caffemodel’ was not found.
if loading a built-in model, maybe it wasn’t downloaded before.
Run the Model Downloader tool again and select it for download:
$ cd <jetson-inference>/tools
$ ./download-models.sh
segNet – failed to initialize.
segnet-camera: failed to initialize imageNet
I believe problem is that the actual file is snapshot_iter_2756640.caffemodel. But am unable to find where to change.