Bosheng (Daniel) Zhang

Results 13 comments of Bosheng (Daniel) Zhang
trafficstars

我在原代码model/detector.py的forward function里修改,因为我看这里有两个tensor output,但他们size不一样 ![image](https://user-images.githubusercontent.com/41173132/142958182-a35cc582-603d-4200-953e-eaa87f142375.png) ![image](https://user-images.githubusercontent.com/41173132/142958204-96323531-23a3-4879-8437-be51ebb528bd.png) 我也不是很确定是不是修改这里,求指导~ Any helps will be appreciated!!

issue fixed! Can check out my new pull request in the original work. Hope it helps! https://github.com/hpc203/yolo-fastestv2-opencv/issues/5#issuecomment-979707357

issue fixed! Can check out my new pull request in the original work. Hope it helps! https://github.com/dog-qiuqiu/Yolo-FastestV2/pull/44#issue-1064116145

I avoid the issue by using 'final_state.pth'. instead, I used 'epoch_240.pth'. Don't know why but I am running now.

![image](https://user-images.githubusercontent.com/41173132/139517046-19b841eb-868f-4294-a3cc-458d18c2b9a1.png) Hi leidi1989, after I changed `checkpoint_file = args.weights[0]` in test.py, it raised me another error as shown above, any clues? Thanks in advance!

> I also encounter this problem when I train my lane line segmentation, the trained detection head gets worse. Hi, I retrained my model with an encoder and single detection...

> 1. Change default parameters of --device to “cuda device” > ![image](https://user-images.githubusercontent.com/29683145/132706958-74a68ca4-ee12-415f-bca2-1902ed3211b0.png) > 2. Run the demo.py > ![image](https://user-images.githubusercontent.com/29683145/132707181-8f338703-1ed5-471c-9032-09c0b370af03.png) the 'Cuda available' is the description, you should choose from 0,1,2...

![image](https://user-images.githubusercontent.com/41173132/142345914-ad0e1cb2-f46f-49d9-a124-7864d71e2bc9.png) Is that because I freezed to train the encoder also?

> Errors like this is due to model mismatch between pytorch and tensorrt. You can follow the readme to use the matched version, and try official model first. > >...