Comments (7)
Still no sign of luck...
cmake output is:
find: -xtype: unknown primary or operator
c++ -o pse.so -I include -std=c++11 -O3 -I/Users/oblivion/anaconda3/include/python3.7m -I/Users/oblivion/anaconda3/include/python3.7m -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/oblivion/anaconda3/include -arch x86_64 -I/Users/oblivion/anaconda3/include -arch x86_64 -L/Users/oblivion/anaconda3/lib/python3.7/config-3.7m-darwin -lpython3.7m -ldl -framework CoreFoundation pse.cpp --shared -fPIC
pse.cpp:32:29: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for (size_t i = 0; i<h; i++)
^
pse.cpp:39:29: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for (size_t i = 0; i<h; i++)
^
pse.cpp:42:32: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for(size_t j = 0; j<w; j++)
^
3 warnings generated.
warning: (x86_64) /tmp/lto.o unable to open object file: No such file or directoryAnd run app.py got this error:
find: -xtype: unknown primary or operator
make: `pse.so' is up to date.
device: cpu
load models
device: cpu
load models
device: cpu
load models
device: cpu
load models
http://0.0.0.0:8080/
127.0.0.1:57911 - - [04/Mar/2020 18:55:49] "HTTP/1.1 GET /ocr" - 200 OK
zsh: segmentation fault python app.py 8080
Do not use conda, run this in you bash:
conda deactivate
and make it again
from chineseocr_lite.
try cd psenet dir to make pse moudle?
from chineseocr_lite.
I'm sorry, I'm not familiar with C++, could you explain more specifically?
from chineseocr_lite.
cd psenet/pse
rm -rf pse.so
make
from chineseocr_lite.
Still no sign of luck...
cmake output is:
find: -xtype: unknown primary or operator
c++ -o pse.so -I include -std=c++11 -O3 -I/Users/oblivion/anaconda3/include/python3.7m -I/Users/oblivion/anaconda3/include/python3.7m -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/oblivion/anaconda3/include -arch x86_64 -I/Users/oblivion/anaconda3/include -arch x86_64 -L/Users/oblivion/anaconda3/lib/python3.7/config-3.7m-darwin -lpython3.7m -ldl -framework CoreFoundation pse.cpp --shared -fPIC
pse.cpp:32:29: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for (size_t i = 0; i<h; i++)
^
pse.cpp:39:29: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for (size_t i = 0; i<h; i++)
^
pse.cpp:42:32: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for(size_t j = 0; j<w; j++)
^
3 warnings generated.
warning: (x86_64) /tmp/lto.o unable to open object file: No such file or directory
And run app.py got this error:
find: -xtype: unknown primary or operator
make: `pse.so' is up to date.
device: cpu
load models
device: cpu
load models
device: cpu
load models
device: cpu
load models
http://0.0.0.0:8080/
127.0.0.1:57911 - - [04/Mar/2020 18:55:49] "HTTP/1.1 GET /ocr" - 200 OK
zsh: segmentation fault python app.py 8080
from chineseocr_lite.
I'm sorry! I was experimenting with Linux, and I probably didn't know there were problems with Unix
from chineseocr_lite.
Still no sign of luck...
cmake output is:
find: -xtype: unknown primary or operator
c++ -o pse.so -I include -std=c++11 -O3 -I/Users/oblivion/anaconda3/include/python3.7m -I/Users/oblivion/anaconda3/include/python3.7m -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/oblivion/anaconda3/include -arch x86_64 -I/Users/oblivion/anaconda3/include -arch x86_64 -L/Users/oblivion/anaconda3/lib/python3.7/config-3.7m-darwin -lpython3.7m -ldl -framework CoreFoundation pse.cpp --shared -fPIC
pse.cpp:32:29: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for (size_t i = 0; i<h; i++)
^
pse.cpp:39:29: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for (size_t i = 0; i<h; i++)
^
pse.cpp:42:32: warning: comparison of integers of different signs: 'size_t'
(aka 'unsigned long') and 'int' [-Wsign-compare]
for(size_t j = 0; j<w; j++)
^
3 warnings generated.
warning: (x86_64) /tmp/lto.o unable to open object file: No such file or directory
And run app.py got this error:
find: -xtype: unknown primary or operator
make: `pse.so' is up to date.
device: cpu
load models
device: cpu
load models
device: cpu
load models
device: cpu
load models
http://0.0.0.0:8080/
127.0.0.1:57911 - - [04/Mar/2020 18:55:49] "HTTP/1.1 GET /ocr" - 200 OK
zsh: segmentation fault python app.py 8080Do not use conda, run this in you bash:
conda deactivate
and make it again
Thx.
But got same error as before. But I've successful run the code in a Docker container.
from chineseocr_lite.
Related Issues (20)
- 可以去除返回的框结果Bitmap么? HOT 4
- 为什么我整的golang版本的识别精度不如C#版本的? HOT 3
- 跑的时间久了会发生内存泄漏,内存使用线性增长 HOT 1
- C#项目运行时,加载模型需要 keys.txt 如何生成?找不到这个文件 HOT 1
- W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '94'. It is not used by any node and should be removed from the model HOT 1
- layer load_param 106 611 failed HOT 3
- 报错No module named 'backend.tools',backend我装了的
- 如何使用指定GPU设备推理呢?
- Docker版本在m1处理器的mbp上
- 你好,请问可以返回一个字的坐标吗 HOT 2
- compress取值
- win11上ncnn_project编译不过去
- 安卓手机文字无法识别 HOT 4
- 策略是ncnn和MNN两种Android的demo,ncnn的识别在20-30ms,MNN的有的在100多ms,想问下有什么不同吗
- Inquiry Regarding Traditional Chinese Character Recognition Support in the Model
- 关于模型微调训练方法
- 支持繁体字与带音调的拼音识别吗?
- cpp demo OcrLiteOnnx VS2019编译错误 HOT 2
- VS编译DLL动态库想做纯静态连接的DLL HOT 2
- 关于只做文字区域监测的话可以不带key文件吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chineseocr_lite.