Giter VIP home page Giter VIP logo

chwilms / attentionmask Goto Github PK

View Code? Open in Web Editor NEW
50.0 50.0 16.0 9.31 MB

AttentionMask: Attentive, Efficient Object Proposal Generation Focusing on Small Objects (ACCV 2018, accepted as oral)

License: GNU General Public License v3.0

Python 4.69% CMake 1.13% Makefile 0.28% Dockerfile 0.03% HTML 0.08% CSS 0.10% Jupyter Notebook 56.80% C++ 33.66% Shell 0.28% Cuda 2.60% MATLAB 0.36%
accv2018 attention caffe cnn object-discovery object-proposals visual-attention

attentionmask's People

Contributors

chwilms avatar cpoptic 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

attentionmask's Issues

GPU out of memory

Hi there, I successfully followed the instructions up until the "Inference stage". Here, I attempted to generate proposals for the COCO dataset by using the command provided in the READ.Me. Upon doing so I got the following error:

loading annotations into memory...
Done (t=3.57s)
creating index...
index created!
Progress: |--------------------------------------------------| 0.0% CompleteF0226 17:52:22.489114 3020 syncedmem.cpp:56] Check failed: error == cudaSuccess (2 vs. 0) out of memory
*** Check failure stack trace: ***
Aborted (core dumped)

I am currently running the following:

Any help would be appreciated, thanks in advance.

double free or corruption (!prev) (BUG?)

I had finally got the model training but I have now begun getting the following two errors and I'm unsure as to why.

Snapshotting to binary proto file params/attentionMask-8-128_iter_50.caffemodel
I0304 23:27:38.113571 4767 sgd_solver.cpp:273] Snapshotting solver state to binary proto file params/attentionMask-8-128_iter_50.solverstate
F0304 23:27:40.473143 4767 syncedmem.hpp:31] Check failed: error == cudaSuccess (29 vs. 0) driver shutting down
*** Check failure stack trace: ***
./train.sh: line 26: 4767 Aborted (core dumped) python trainAttentionMask.py 0 attentionMask-8-128 --init_weights resnet-50-model.caffemodel --step $SIZE_EPOCH

double free or corruption (!prev)
./train.sh: line 26: 5032 Aborted (core dumped) python testAttentionMask.py 0 attentionMask-8-128 --init_weights attentionMask-8-128_iter_$STEP.caffemodel --dataset train2014

EOF error

When running the trainAttentionMask.py by itself I keep getting the following error.

I0302 01:16:14.811571 3437 sgd_solver.cpp:106] Iteration 0, lr = 0.0001
Traceback (most recent call last):
File "trainAttentionMask.py", line 88, in
solver.step(args.step)
File "/home/hamzah/Documents/AttentionMask/python_layers/data/boxSelectionLayerMP.py", line 107, in reshape
self.item, self.zoom_negtive_samples,self.shift_negtive_samples,i =conn.recv()
EOFError

When looking online I have found the EOF error is the following -

When the input() function is interrupted in both Python 2.7 and Python 3.6+, or when input() reaches the end of a file unexpectedly in Python 2.7.

Any help would be appreciated, thanks in advance

Training with own data set

Hi there, i'm new to the computer vision scene, and was wondering if i could get more information on how to use you model. I am currently working on strawberry detection in fields, and with strawberry's being fairly small, your model caught my attention. I was wondering if this would be problem solvable by your model. I know issues should not be used like this, so is there anyway I can get in contact with you.

Thanks in advance.

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.