Coder Social home page Coder Social logo

coderskychen / iterative-visual-reasoning.pytorch Goto Github PK

View Code? Open in Web Editor NEW
71.0 71.0 9.0 470 KB

Reimplementation for Iterative Visual Reasoning Beyond Convolutions(CVPR2018),i've reimplemented it on pytorch according to [endernewton/iter-reason](https://github.com/endernewton/iter-reason).

License: MIT License

Python 76.19% Shell 0.55% C 12.49% Cuda 10.43% C++ 0.35%

iterative-visual-reasoning.pytorch's People

Contributors

coderskychen 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  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

iterative-visual-reasoning.pytorch's Issues

A problem occurrd when compiling

Thank you for your work! Your work helps a lot.
I met a problem when excuting the command of "sh make.sh". I tried to fix it but failed. Could you please help me to sovle this problem?
########################################
francis@amax:~/github/Iterative-Visual-Reasoning.pytorch/lib$ sh make.sh
: not found make.sh:
: not found make.sh:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

not recognized-inplace
: not found make.sh:
: not found: make.sh:
make.sh: 15: cd: can't cd to roi_pooling/src
Compiling roi pooling kernels by nvcc...
make.sh: 17: make.sh: nvcc: not found
make.sh: 18: make.sh: -D: not found
make.sh: 19: cd: can't cd to ../
': [Errno 2] No such file or directory
: not found: make.sh:
: not found: make.sh:
make.sh: 24: cd: can't cd to ../
make.sh: 25: cd: can't cd to roi_align/src/cuda
Compiling roi align kernels by nvcc...
make.sh: 27: make.sh: nvcc: not found
: not found: make.sh:
make.sh: 30: cd: can't cd to ../../
##########################################
with python 2.7 ,torch 1.0.1.post2
Thank you !

There is something wrong when I run build.py in /lib/roi_align/

This is the traceback in shell:

/data/net/Iterative-Visual-Reasoning.pytorch-master/lib/roi_align/src/crop_and_resize.c: In function ‘CropAndResizePerBox’:
/data/net/Iterative-Visual-Reasoning.pytorch-master/lib/roi_align/src/crop_and_resize.c:30:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for
^
/data/net/Iterative-Visual-Reasoning.pytorch-master/lib/roi_align/src/crop_and_resize.c: In function ‘crop_and_resize_forward’:
/data/net/Iterative-Visual-Reasoning.pytorch-master/lib/roi_align/src/crop_and_resize.c:124:33: error: dereferencing pointer to incomplete type ‘THTensor {aka struct THTensor}’
const int batch_size = image->size[0];
^
what should I do?

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.