Code Monkey home page Code Monkey logo

Comments (4)

innerlee avatar innerlee commented on May 18, 2024

We will move these compiling parts to mmcv, and by then the building experience will be improved.
Before that, please refer to https://mmcv.readthedocs.io/en/latest/build.html?highlight=windows#build-on-windows to see if it contains useful information.

Edit: wsl2 with cuda is another option, see https://docs.nvidia.com/cuda/wsl-user-guide/index.html

from mmocr.

KangolHsu avatar KangolHsu commented on May 18, 2024

Thanks
I solve the build error

1.pan.cpp
change “float kernel_vector[label_num][5] = {0};”
to
float**kernel_vector;
kernel_vector=new float*[5];
for(int i=0;i<5;i++)
kernel_vector[i]=new float[label_num];

2.pse.cpp
change "int area[label_num + 1];"
to:
int *area;
area=new int[label_num+1];

3.pse.cpp
change "vector data_shape = buf.shape;"
to : "vector data_shape = {(long)buf.shape[0],(int)buf.shape[1]};"

4.pse.cpp
change "vector label_map_shape =buf_label_map.shape;"
to : "vector label_map_shape = {(long)buf_label_map.shape[0],(int)buf_label_map.shape[1]};"

from mmocr.

innerlee avatar innerlee commented on May 18, 2024

Thanks for your info! Would you mind making a pull request, so that your contribution would be recorded?

from mmocr.

yauauau avatar yauauau commented on May 18, 2024

I was just going to ask how do you do that and to receive the recording from the customers

from mmocr.

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.