Giter VIP home page Giter VIP logo

Comments (6)

yijingru avatar yijingru commented on August 16, 2024

You can change the backbone, but make sure to output four feature maps to feed the decoder. The channels of the four feature maps are x[-1]=2048, x[-2]=1024, x[-3]=512, x[-4]=256. You may change the channels in lines14-16 of ctrbox_net.py, or delete some or add some of them to match your new backbone output.

from bbavectors-oriented-object-detection.

Fly-dream12 avatar Fly-dream12 commented on August 16, 2024

The backbone output can match and it can be trained, but it was interrupted as the error goes, so what may be wrong ?

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on August 16, 2024

The exception looks like you don't have enough memory to fork child process? How about checking your /dev/shm(which I used before then I found I didn't have enough shared memory). Or decreasing the number of num_workers (set it to 0?)

from bbavectors-oriented-object-detection.

Fly-dream12 avatar Fly-dream12 commented on August 16, 2024

I have decreased the num_workers to 0, and it stills went wrong

from bbavectors-oriented-object-detection.

yijingru avatar yijingru commented on August 16, 2024

A different error?

from bbavectors-oriented-object-detection.

Fly-dream12 avatar Fly-dream12 commented on August 16, 2024

Yes, a different error:
File "BBAVectors-Oriented-Object-Detection-master/train.py", line 45, in save_model
}, path)
File "anaconda3/envs/maskrcnn/lib/python3.7/site-packages/torch/serialization.py", line 224, in save
return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol))
File "anaconda3/envs/maskrcnn/lib/python3.7/site-packages/torch/serialization.py", line 149, in _with_file_like
return body(f)
File "anaconda3/envs/maskrcnn/lib/python3.7/site-packages/torch/serialization.py", line 224, in
return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol))
File "anaconda3/envs/maskrcnn/lib/python3.7/site-packages/torch/serialization.py", line 303, in _save
serialized_storages[key]._write_file(f, _should_read_directly(f))
RuntimeError: std::bad_alloc

from bbavectors-oriented-object-detection.

Related Issues (20)

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.