Comments (8)
@makefile
Traceback (most recent call last):
File "/data/code/caffe/convert_model.py", line 91, in
(net.params['bbox_pred'][0].data * stds[:, np.newaxis])
KeyError: 'bbox_pred'
I got a problem too,I just comment this line of code.
from frcnn.
@moyans There is no need run the convert_model.py
since bbox unnormalize is done at test time in the C++ code.
from frcnn.
I have trained rfcn model and bbox accuracy got 97%, but when inference got no result, I am not convert model..... with:
BUILD=build/examples/FRCNN/demo_frcnn_api.bin
$BUILD --gpu $gpu \
--model examples/FRCNN/rfcn-res50-voc/test_merged-atrous.proto \
--weights examples/FRCNN/snapshot/rfcn-ohem-soft-nms-res50-voc_iter_80000.caffemodel \
--default_c examples/FRCNN/config/voc_config.json \
--image_dir examples/images/ \
--out_dir examples/FRCNN/results/
from frcnn.
Output Dir Is : examples/FRCNN/results/
I0813 11:08:07.946373 14934 demo_frcnn_api.cpp:70]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Demo for cat gray.jpg
I0813 11:08:08.044909 14934 demo_frcnn_api.cpp:75] Predict cat gray.jpg cost 94.1493 ms.
I0813 11:08:08.044935 14934 demo_frcnn_api.cpp:76] There are 0 objects in picture.
I0813 11:08:14.342118 14934 demo_frcnn_api.cpp:70]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Demo for cat.jpg
I0813 11:08:14.392055 14934 demo_frcnn_api.cpp:75] Predict cat.jpg cost 45.6962 ms.
I0813 11:08:14.392086 14934 demo_frcnn_api.cpp:76] There are 0 objects in picture.
I0813 11:08:26.512833 14934 demo_frcnn_api.cpp:70]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Demo for cat_gray.jpg
I0813 11:08:26.561453 14934 demo_frcnn_api.cpp:75] Predict cat_gray.jpg cost 44.95 ms.
I0813 11:08:26.561476 14934 demo_frcnn_api.cpp:76] There are 0 objects in picture.
from frcnn.
@jinfagang Try lower the threshold, if there is no object, that may be caused by wrong labels used for training.
from frcnn.
@makefile Just simply using VOC, this data is veryfied training with zf-fasterrcnn, it worked. And the network loaded and trained, but inference got no result. Also, when I convert model it says no layer called bbox_pred
which this issue got.
So I don't convert directly inference using demo_frcnn_api, it gots no result, not sure what's the problem, the threshold is 0.3 is already low enough.
from frcnn.
@jinfagang I had the same problem .Have you solved it?
from frcnn.
@SuperPowerLF2 No idea so far.
from frcnn.
Related Issues (18)
- Variable omission
- frcnn_roi_data_layer.cpp:220] Check failed: rois[i][DataPrepare::X2] < cols (500 vs. 500) rois[i][DataPrepare::X2] : 500 HOT 3
- .build_release/lib/libmodules.so: cannot open shared object file: No such file or directory HOT 1
- hi,where the pre-train caffemodel can download,thanks HOT 1
- Using r-frcnn HOT 9
- How to train on coco? HOT 8
- Loss NAN HOT 10
- res101 inference result zero HOT 7
- undefined reference to `Blowfish::Blowfish` HOT 1
- why comment the frcnn_proposal_layer's Forward GPU implementation? HOT 5
- Can you offer converting code for converting yolov3 weight model to caffe format? HOT 8
- math_functions.cu:130] Check failed: status == CUBLAS_STATUS_SUCCESS (14 vs. 0) CUBLAS_STATUS_INTERNAL_ERROR HOT 1
- demo test erro HOT 2
- error: no matching function for call to 'data_augment, when make test HOT 8
- where is test_inference.prototxt? is test.proto ? HOT 2
- run yolov3-tiny completed! HOT 3
- 对‘GOMP_parallel’未定义的引用 对‘omp_get_thread_num’未定义的引用 HOT 2
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 frcnn.