ABCAI93

Results 6 comments of ABCAI93

> 您好,请问一下如何在detector.cpp中获取到识别结果的类别信息呢? 我是这么实现的: 1. 首先给parse_yolov5函数增加一个vector容器存放类别信息,如bool Detector::parse_yolov5(const Blob::Ptr &blob,int net_grid,float cof_threshold, vector& o_rect,vector& o_rect_cof, vector& classIds) 2. 接着在detector.cpp中的第57行后增加一行代码,即把类别序号push进类别的容器类,如classIds.push_back(idx-5) 3. 在detector.cpp的第132行增加一个vector classIds; 然后把137行的双引号改成classIds[final[i]] 4. 修改detector.h文件中第18行的std::string name成int class_id 5. 最后在main.cpp的43行后可以把类别序号打印出来了:std::cout

Hello, thanks for your sharing. But I encounted the same problem, have you solved it? Besides, the speed of my training seems to be a little slow, may I ask...

> > 请问一下,执行run_ssd_example.py脚本报这个错该如何解决? Traceback (most recent call last): > > File "run_ssd_example.py", line 57, in > > boxes, labels, probs = predictor.predict(image, 10, 0.4) > > File "D:\Projects\DeepLearning\MobileNetV3-SSD-master\vision\ssd\predictor.py", line 37,...

> Hi > > Did the code restart or crash? typically it should restart. It keeps restarting and then keeps repeating this error. I want to know what causes this...

> Hi, > > does the code never work or does it happen only a few times? Unfortunately, the code never work

> Hi, I run the code on rtx3090 and got the same problem. ![Snipaste_2023-12-06_16-56-40](https://private-user-images.githubusercontent.com/65001141/288348993-93a1e777-680c-4649-979e-5237b59b2c21.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDE4NTcxNzEsIm5iZiI6MTcwMTg1Njg3MSwicGF0aCI6Ii82NTAwMTE0MS8yODgzNDg5OTMtOTNhMWU3NzctNjgwYy00NjQ5LTk3OWUtNTIzN2I1OWIyYzIxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjA2VDEwMDExMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU0ZWZlYjA4ODEyYTg1OGQ5MTYzZjc2ZjFmODVmN2VmZTdlOTA4MDNmZTI0NWI2NTZjNTgyMzg4ZTc5NTc1ODUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sOx3EVBH9Z1m_H3SkoCbPfDXR-Cmhqa1vH6KE6BInC4) yeah, pip install git+https://github.com/jonbarron/robust_loss_pytorch it works!