Comments (4)
I'v modified parts of the code, and can run now
from m2det.
Hi, banayoyo.
I'm trying to run detection with cpu PC(windows - Anaconda), so I approach by comment out nms parts of demo.py (and others).
So I can get im2show images, but they have too many duplicate boxes, probably by comment out 101-104 lines of demo.py.
How do you modified the program?
Thanks.
from m2det.
Hi, banayoyo.
I'm trying to run detection with cpu PC(windows - Anaconda), so I approach by comment out nms parts of demo.py (and others).
So I can get im2show images, but they have too many duplicate boxes, probably by comment out 101-104 lines of demo.py.
How do you modified the program?
Thanks.
there is nearly no modification on demo.py for my repo. U can refer to my github:: m22det/local_m.
maybe u are right, without nms will lead to many duplicated boxes.
from m2det.
Thank you, banayoyo.
I understood that the nms problem is caused by not having C compiler and it is slightly difficult to install and setting it on windows PC.
I defined my_cpu_soft_nms() based by cpu_soft_nms() on cpu_nms.pyx and could get boxes without duplication.
Thanks.
from m2det.
Related Issues (20)
- I wrote how to run on mac os.
- The test for coco2017 and get mAP 0.0? model is m2det512_vgg.pth
- Someone have test result on VOC2007 ? HOT 5
- train error HOT 5
- 论文中有一处错误
- Are you using batch size 8 for bn update?
- Why adjust_learning_rate() only refers to step_lr of COCO? HOT 1
- can anyone explain what is the loss_L and loss_c in the training results ? HOT 1
- AttributeError: 'CustomDataset' object has no attribute 'evaluate_detections'AttributeError: 'CustomDataset' object has no attribute 'evaluate_detections'
- Two question about upsample process
- error when run demo.py
- RuntimeError: all tensors must be on devices[0] HOT 1
- mAP精度问题
- On which dataset was m2det512_vgg.pth trained?
- Hard Negative Mining problem
- demo | qt.qpa.xcb: could not connect to display HOT 1
- Does anyone have the weight of resnet101 HOT 1
- File "home/CLNet/main.py", line 87, in <module> main () File "home/CLNet/main.py", line 25, in main model = init_model(args) File "/content/drive/My Drive/home/CLNet/utils/init.py", line 51, in init_model model.load_state_dict(state_dict) File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 1407, in load_state_dict self.__class__.__name__, "\n\t".join(error_msgs))) RuntimeError: Error(s) in loading state_dict for CLNet: HOT 1
- GFLOPs!!!
- ImportError: /home/wdc/M2Det/utils/nms/gpu_nms.cpython-37m-x86_64-linux-gnu.so: undefined symbol: cudaSetupArgument
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from m2det.