Bartzi / stn-ocr

Code for the paper STN-OCR: A single Neural Network for Text Detection and Text Recognition
https://arxiv.org/abs/1707.08831
GNU General Public License v3.0
499 stars 137 forks source link

More precise installation instructions #9

Open kindlychung opened 7 years ago

kindlychung commented 7 years ago

Hi.

I'm trying to follow the steps in readme but mxnet failed to compile. Could you list your commands?

Thanks.

Bartzi commented 7 years ago

Hi,

I will add more precise commands. Which steps do you have trouble with?

kindlychung commented 7 years ago

I managed until step 8. Compiling mxnet gives lots of errors from gcc.

kindlychung commented 7 years ago

But step 1-8 also needs to be more detailed. I had to do quite some trial-and-error to get them correct.

Bartzi commented 6 years ago

Hi,

sry that it took me so long, I've been on holiday^^

Hmm, okay I will try to link to webpages for more precise instructions. Did you make sure that you are using the correct version of MXNet (v0.9.3)? What kind of errors do you get?

kindlychung commented 6 years ago

Here is the error I got: https://gist.github.com/anonymous/278a490dc17e1ea95a57a23e0f26f92b

Bartzi commented 6 years ago

Hmm, I'm not sure but did you also set the submodules to the correct version? This could be one of the sources of the errors you are seeing while compiling. If this is not the problem, I'm afraid that I can not help you :confused:

kindlychung commented 6 years ago

@Bartzi Which submodules are you referring to? And which versions should I use for them? Thanks.

kindlychung commented 6 years ago

@Bartzi Do you have a private fork of mxnet? If so, could you upload that and share with the world? That would be great.

Bartzi commented 6 years ago

I do not have a private fork of mxnet, because I did not change anything in mxnet^^ With submodules I mean the git submodules included in the mxnet repository. You normally check them out with git submodule update --init, if you checkout the v0.9.3 you also have to make sure that the submodules are at the correct commit. You should be able to do so with this command: git submodule sync

kindlychung commented 6 years ago

Ok, I'll try that. Thanks.

kindlychung commented 6 years ago

BTW, which version of gcc do you use for the compilation?

ThaiLe189 commented 4 years ago

Hello @kindlychung I have the same problem Did you fix it ? Can you help me. Thank you.