AFallDay

Results 10 comments of AFallDay

因为视频用的是df2.value,不是df.value

![image](https://github.com/VainF/Torch-Pruning/assets/144637847/0736480a-483a-4baf-b28c-c5f3a142329a) @LorenzoSun-V Thanks, this does detect it, but the same parameters equate to no pruning。

> I comment out the code of the picture below, and the issue can be solved. But the params seem to be the same as before pruning. ![image](https://user-images.githubusercontent.com/42413198/283290754-17565859-9e64-4a53-9dbc-bdf1c10ef33b.png) It seems...

> I referred to yolov7's code and tested it on yolov5-v7.0 successfully. Hope this is helpful. > > ``` > import argparse > import math > import os > import...

> Try this script: > > ``` > python train_after_pruning.py \ > --weights ${pretrained} \ > --cfg ${cfg} \ > --batch-size ${bs} \ > --data ${data} \ > --device ${device}...

> Hi @AFallDay, in v1.3 we only ignore the `output` of a layer and its input dim will be pruned due to its dependency to previous layers. If you need...

> Yes, we can manually add the preceding layers to the ignored_layers. How do I add yolov5s‘layers to the ignored_layers? I'm not very good at it. Could you please answer?

@glenn-jocher Can I just import additional labels for ground truths in detect.py to calculate P, R, AP, MAP metrics?

hello @VainF , I'm a beginner and I'm also having problems detecting anything after pruning with yolov5s, is there a fine tuning code for yolov5? please