Please provide the following information when requesting support.
• Hardware (T4/V100/Xavier/Nano/etc) RTX4080
• Network Type (Detectnet_v2/Faster_rcnn/Yolo_v4/LPRnet/Mask_rcnn/Classification/etc) action_recognition_net
• TLT Version (Please run “tlt info --verbose” and share “docker_tag” here) nvcr.io/nvidia/tao/tao-toolkit:5.3.0-pyt
• Training spec file(If have, please share here)
Now the issue is when deploy the model, model detection are quite random. Even nobody in the scene, just background, is detected as fight. Sometimes fight and normal is flickering. Model didn’t learn like what I train.
If two persons face to face and attack each other is Fight. Normal is one or two person just randomly walking or sitting is normal activity.
I have 160 images for each folder in training.
rgb_seq_length is 16 and clips_per_video is 10. That is why each folder has 160 images. I deploy model using deepstream.
You mentioned using 160 images for each class. With a sequence length of 16 and 10 clips per video, this implies you may be using only one video for your “fight” class and one for your “normal” class. A model trained on such limited data will not learn to recognize the action of fighting itself. Instead, it will likely overfit and learn to associate the specific, static background of that one video with the “fight” label. When it sees that background (or a similar one) in deployment, it incorrectly triggers a “fight” detection, even with no people present.
Please gather significantly more video clips for all your classes. Aim for dozens or hundreds of short videos recorded in diverse environments with different backgrounds, lighting, camera angles, and numbers of people.
No I have 128 + 128 = 256 folders for training and 27 + 27 = 54 folders for validation. Each folder has 160 images. Because I train rgb_seq_length: 32 and clips_per_video: 5.
Now it looks fine. I tested using the following command
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.