Git Product home page Git Product logo

seeing3dchairs's People

Contributors

brussell123 avatar mathieuaubry avatar onlyrightnow 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

seeing3dchairs's Issues

I am using MATALB2017 with Unix I could not run the demo code.

Warning: Directory already exists.

In demoGetAllDEs (line 10)
Invalid MEX-file '/home/spk/git/seeing3Dchairs/code/features.mexa64': Function mexFunction is missing.

Error in hog_pyramid (line 44)
feat{i} = hog_params.features(scaled,hog_params.sbin);

Error in DEs_from_image (line 15)
[hogs_pyramid scales_pyramid]=hog_pyramid(I,params);

Error in get_DEs_chair_by_K (line 18)
DEs=DEs_from_image(view,DEparams);

Error in demoGetAllDEs (line 23)
get_DEs_chair_by_K(folder_names,chair_id,instance_names,MODELS_DIR,DE_DIR,DEparams,K);

I have features.mexa64 under code folder with compile comand but I got error.

compile command fails

>> compile
Building with 'g++'.
Error using mex
/home/username/workspace/seeing3Dchairs/code/features.cc: In function ‘mxArray* process(const mxArray*, const mxArray*)’:
/home/username/workspace/seeing3Dchairs/code/features.cc:38:44: error: cannot convert ‘const size_t* {aka const long unsigned
int*}’ to ‘const int*’ in initialization
   const int *dims = mxGetDimensions(mximage);
                                            ^
/home/username/workspace/seeing3Dchairs/code/features.cc:58:72: error: cannot convert ‘int*’ to ‘const size_t* {aka const long
unsigned int*}’ for argument ‘2’ to ‘mxArray* mxCreateNumericArray(size_t, const size_t*, mxClassID, mxComplexity)’
   mxArray *mxfeat = mxCreateNumericArray(3, out, mxDOUBLE_CLASS, mxREAL);
                                                                        ^


Error in compile (line 4)
mex features.cc;

OS: Ubuntu 16.04
Matlab: 2017b
g++: 4.9

I got following error while compiling it

Warning: You are using gcc version '5.4.0'. The version of gcc is not supported. The version
currently supported with MEX is '4.9.x'. For a list of currently supported compilers see:
http://www.mathworks.com/support/compilers/current_release.

In compile (line 4)
Error using mex
/home/spk/git/seeing3Dchairs/code/features.cc: In function ‘mxArray* process(const mxArray*,
const mxArray*)’:
/home/spk/git/seeing3Dchairs/code/features.cc:38:44: error: cannot convert ‘const size_t*
{aka const long unsigned int*}’ to ‘const int*’ in initialization
const int dims = mxGetDimensions(mximage);
^
/home/spk/git/seeing3Dchairs/code/features.cc:58:72: error: cannot convert ‘int
’ to ‘const
size_t* {aka const long unsigned int*}’ for argument ‘2’ to ‘mxArray*
mxCreateNumericArray(size_t, const size_t*, mxClassID, mxComplexity)’
mxArray *mxfeat = mxCreateNumericArray(3, out, mxDOUBLE_CLASS, mxREAL);
^

Error in compile (line 4)
mex features.cc;

There is no 2D-3D fitting?

I successfully compiled and ran the code but the output (html/figures/) is just bounding boxes and a few models as separate images, so where is the 2D-3D fitting of the chair? Where is the precise placement of the chair in the image?

The output of the code is not what the paper/slide promises.

Or is there another way of running this?

Printing patches and hog masks for chair matches

Is there a way to present the hog masks and matched patches for each chair match in the top 5 html output? Even a way to print to file or a pointer to the relevant bits of code would be great.

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.