I’ve recently re-installed all NVCaffe, DIGITS, Jetson-inference and the environment seems to have changed slightly such that I can no longer run the following without errors:
$ cd jetson-inference/build/aarch64/bin
$ NET=DetectNet-COCO-Dog
$ ./detectnet-camera \
--prototxt=$NET/deploy.prototxt \
--model=$NET/snapshot_iter_38600.caffemodel \
It seems that, although I specify: NET=DetectNet-COCO-Dog, there’s no search for a cache file at this location.
Detectnet-camera works fine with the following, which should have produced a cache somewhere?
$ cd jetson-inference/build/aarch64/bin
$ ./detectnet-camera coco-dog
Here’s the full error … Please advise!
nvidia@tegra-ubuntu:~$ cd jetson-inference/build/aarch64/bin
nvidia@tegra-ubuntu:~/jetson-inference/build/aarch64/bin$ NET=DetectNet-COCO-Dog
nvidia@tegra-ubuntu:~/jetson-inference/build/aarch64/bin$ ./detectnet-camera \
> --prototxt=$NET/deploy.prototxt \
> --model=$NET/snapshot_iter_38600.caffemodel \
>
detectnet-camera
args (3): 0 [./detectnet-camera] 1 [--prototxt=DetectNet-COCO-Dog/deploy.prototxt] 2 [--model=DetectNet-COCO-Dog/snapshot_iter_38600.caffemodel]
[gstreamer] initialized gstreamer, version 1.8.3.0
[gstreamer] gstCamera attempting to initialize with GST_SOURCE_NVCAMERA
[gstreamer] gstCamera pipeline string:
nvcamerasrc fpsRange="30.0 30.0" ! video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12 ! nvvidconv flip-method=0 ! video/x-raw ! appsink name=mysink
[gstreamer] gstCamera successfully initialized with GST_SOURCE_NVCAMERA
detectnet-camera: successfully initialized video device
width: 1280
height: 720
depth: 12 (bpp)
detectNet -- loading detection network model from:
-- prototxt DetectNet-COCO-Dog/deploy.prototxt
-- model DetectNet-COCO-Dog/snapshot_iter_38600.caffemodel
-- input_blob 'data'
-- output_cvg 'coverage'
-- output_bbox 'bboxes'
-- mean_pixel 0.000000
-- class_labels NULL
-- threshold 0.500000
-- batch_size 2
[TRT] TensorRT version 4.0.2
[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
[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
detectNet -- failed to initialize.
detectnet-camera: failed to initialize imageNet
nvidia@tegra-ubuntu:~/jetson-inference/build/aarch64/bin$