Giter Site home page Giter Site logo

hikapok / x-detector Goto Github PK

View Code? Open in Web Editor NEW
113.0 113.0 33.0 2.31 MB

Light-Head RCNN and One Novel Object Detector

License: Apache License 2.0

C 0.08% CMake 0.45% C++ 12.02% Cuda 3.91% Python 83.53%
faster-rcnn light-head objectdetection rcnn rfcn-resnet tensorflow

x-detector's Issues

compilation error while building PSROIPooling

Hi all,
I can't build libps_roi_align.so, running into following error:
X-Detector/cpp/PSROIPooling$ cmake .
X-Detector/cpp/PSROIPooling$ make
[ 10%] Building NVCC (Device) object CMakeFiles/cuda_compile_4.dir/cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o
sh: 1: cannot create -/rotated_ps_roi_align_grad_op.cpp1.ii: Directory nonexistent
CMake Error at cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o.cmake:219 (message):
Error generating
/data/open_source_projects/object_detection/X-Detector/cpp/PSROIPooling/CMakeFiles/cuda_compile_4.dir//./cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o

CMakeFiles/ps_roi_align.dir/build.make:84: recipe for target 'CMakeFiles/cuda_compile_4.dir/cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o' failed
make[2]: *** [CMakeFiles/cuda_compile_4.dir/cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ps_roi_align.dir/all' failed
make[1]: *** [CMakeFiles/ps_roi_align.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Env: OS Ubuntu 18, python 3.6.6, tensorflow-gpu==1.11.0, cuda-9.0

Any help is highly appreciated

Error during loading lips_roi_align.so

Hi, thanks for sharing the code!
I went to cpp/PSROIPooling, and then executed cmake, and finally make, to generate the libps_roi_align.so file. But when I run the demo, I encountered this error:

tensorflow.python.framework.errors_impl.NotFoundError: ./cpp/PSROIPooling/libps_roi_align.so: undefined symbol: _ZN10tensorflow11GetNodeAttrERKNS_9AttrSliceENS_11StringPieceEPSs

I used exactly the same environment: tensorflow-1.6, python-3.5 and ubuntu 16.04. Also, I googled to find relevant topics but with no success.
Appreciate it if you can help.

cpp psroi pooling can not built

Same error:

oi_align_op.h:25:61: fatal error: third_party/eigen3/unsupported/Eigen/CXX11/Tensor: No such file or directory
compilation terminated.
CMake Error at cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o.cmake:220 (message):
  Error generating
  /media/jintain/sg/ai/career/robot/ctirobot/detect/X-Detector/cpp/PSROIPooling/build/CMakeFiles/cuda_compile_4.dir//./cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o


CMakeFiles/ps_roi_align.dir/build.make:84: recipe for target 'CMakeFiles/cuda_compile_4.dir/cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o' failed
make[2]: *** [CMakeFiles/cuda_compile_4.dir/cuda_compile_4_generated_rotated_ps_roi_align_grad_op.cu.o] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/ps_roi_align.dir/all' failed
make[1]: *** [CMakeFiles/ps_roi_align.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Why tf tries to occupy so much GPU memory for simple test?

Hi there,
I'm trying to run your light_head_simple_demo.py with provided model model.ckpt-121397
But while starting the script I run into out of memory issue: while restoring parameters from the checkpoint tf tries to occupy > 14Gb of GPU and falls because I have less than 16Gb.
But the model weight file has size less than 0,5Gb.
Does it really require >16Gb? Or I have somewhere wrong settings for the model? How much memory does it requires for that test?

For test I use tensorflow docker container with pre-installed Ubuntu16, cuda9.0, tensorflow1.6, python 3.5

Thanks

what about the speed and mAP vs yolov3

@HiKapok hi, have you ever try to train on COCO ? can the model be as good as the paper result (we can find its' mAP is close to yolov3, but 3 times fps to yolov2). Recently, I want to do human head detection, i want to use light-head-rcnn, can you give some advices? I am new in deep learning,thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.