Aniket Srivastav
Aniket Srivastav
I changed the prediction function to output the predicted class_id only. But the error remains the same. It is expecting a list so I guess this approach won't work.
The input is an image as numpy array and the output is an integer class_id. Input dimension is (486, 729, 3) and output is an integer value between 0 and...
it just works on 1 batch size. Here is the code snip: `def do_detect(model, img, conf_thresh, nms_thresh, use_cuda=1): model.eval() t0 = time.time() if type(img) == np.ndarray and len(img.shape) == 3:...
I made a change in my prediction function. It takes an image NumPy array along with the bounding box. Here is the prediction function. ` def perd_fn(img, boxes, class_names=None): import...
I have changed the prediction function such that it takes only images as input. But I am still getting the same error. ``` explanation = explainer.explain(img, threshold=.95, p_sample=.8, tau=0.50) File...
I did the same thing in [Deepstream](https://developer.nvidia.com/blog/creating-a-human-pose-estimation-application-with-deepstream-sdk/). Current it is set to detect only 2 people by default. Changing `max_num_objects = 2` to `max_num_objects = 100` did the trick.
@JialeCao001 I agree but I have made the changes in all the config files as well as the files that are been used. I do not understand where I am...
@JialeCao001 Yes I have. Here is the config: Versions of relevant libraries: [pip3] numpy==1.19.2 [pip3] torch==1.4.0 [pip3] torchvision==0.5.0 [conda] blas 1.0 mkl [conda] mkl 2020.2 256 [conda] mkl-service 2.3.0 py37he8ac12f_0...
@JialeCao001 Can You please help me with the inference code to test the trained model on custom data?
@JialeCao001, recompiling the code fixed the issue. I am able to test the custom model but I do not see any bounding box or mask while executing "demo/fcos_demo.py". I am...