for a project I want to build an application for the PX 2 using an own neural network.
The network is fed with images from a camera or video.
My problem is that the output of my network is not what I expect.
This is how I run the NN:
dwDNN_infer(dnn_Output, &dnn_Input, dnn); cudaMemcpy(dnn_Output_H.get(), dnn_Output, sizeof(float32_t) * output_size, cudaMemcpyDeviceToHost));
The values of dnn_Output_H are not at all what I expect as an output from the network.
Am I missing something with the dwDNN_infer call? Is dnn_Output_H the right variable to look at, or is it possible that the error is already in my NN?
Happy for any suggestions!