Code Monkey home page Code Monkey logo

caffe2-yolo-v3's People

Contributors

dongfangduoshou123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

caffe2-yolo-v3's Issues

I have some problems in main.cpp, Can you help me?

I've compiled it successfully and can run the python example properly. But the main.cpp file keeps reporting errors。I found error in Line 86:CAFFE_ENFORCE(workspace.RunNet(predictnet.name()));
and GetTensorToHost function in boxuitl.h . I can't make it. Can you help me? Thanks!
The error is :
terminate called after throwing an instance of 'std::length_error'
what(): vector::_M_default_append
Aborted (core dumped)

求助

大佬如何在win10下测试你的cppdemo?没有.so文件

License file

Hi,
could you specify on what license is this project?
It's great but I'm not sure if I can use it without a license.

Best Regards,
Paweł

.pbtxt files are bad? Need non-txt PB files?

Hi looks like the .pbtxt files are not OK - I cannot read them...?
I'm trying to read them like this:

    device_opts = core.DeviceOption(caffe2_pb2.CPU)
    net_def = caffe2_pb2.NetDef()

    filename_prefix = 'param_init_net'
    with open(filename_prefix+'.pbtxt', 'r') as f:
        file_content = f.read()
        text_format.Merge(file_content, net_def, True, True)
        with open(filename_prefix+'.pb', "wb") as fout:
            fout.write(net_def.SerializeToString())

Do you have them in .PB format?
Thanks,
N

It seems like the yolo mudule not compatible with the newest caffe2 in pytorch repository

Here is my compilation error output

[ 93%] Building NVCC (Device) object modules/Yolo/CMakeFiles/caffe2_yolo_ops_gpu.dir/caffe2_yolo_ops_gpu_generated_yolo_op.cu.o
/home/gpuhuawei/tools/pytorch/modules/Yolo/yolo_op.h(49): error: class "caffe2::Tensor" may not have a template argument list

/home/gpuhuawei/tools/pytorch/modules/Yolo/yolo_op.h(54): error: class "caffe2::Tensor" may not have a template argument list

/home/gpuhuawei/tools/pytorch/modules/Yolo/yolo_op.h(60): error: class "caffe2::Tensor" may not have a template argument list

/home/gpuhuawei/tools/pytorch/modules/Yolo/yolo_op.h(52): error: type name is not allowed

/home/gpuhuawei/tools/pytorch/modules/Yolo/yolo_op.h(52): error: expected an expression

5 errors detected in the compilation of "/tmp/tmpxft_000075e5_00000000-7_yolo_op.compute_35.cpp1.ii".
CMake Error at caffe2_yolo_ops_gpu_generated_yolo_op.cu.o.Release.cmake:279 (message):
  Error generating file
  /home/gpuhuawei/tools/pytorch/build/modules/Yolo/CMakeFiles/caffe2_yolo_ops_gpu.dir//./caffe2_yolo_ops_gpu_generated_yolo_op.cu.o


modules/Yolo/CMakeFiles/caffe2_yolo_ops_gpu.dir/build.make:70: recipe for target 'modules/Yolo/CMakeFiles/caffe2_yolo_ops_gpu.dir/caffe2_yolo_ops_gpu_generated_yolo_op.cu.o' failed
make[2]: *** [modules/Yolo/CMakeFiles/caffe2_yolo_ops_gpu.dir/caffe2_yolo_ops_gpu_generated_yolo_op.cu.o] Error 1
CMakeFiles/Makefile2:5031: recipe for target 'modules/Yolo/CMakeFiles/caffe2_yolo_ops_gpu.dir/all' failed
make[1]: *** [modules/Yolo/CMakeFiles/caffe2_yolo_ops_gpu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Can you fix it?

Caffe2 setup problem

Hi

I have caffe2 install on my machine (i.e. python "import caffe2" works) and want to test run the demo.py.
I am confused about your description in the first step of Intall the YOLOModule.

  1. In order to create the libcaffe2_yolo_ops_gpu.so, what do you mean by "cut yolo page to module folder"?
    FYI,I install the caffe2 from caffe2.ai using conda install

  2. Where can I load the path of my existing caffe2?

If you happen to speak Chinese, more than welcome to answer it in Chinese.

Thanks

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.