Comments (16)
@khalilo Sorry, I'm a fresh hand in Caffe yet. My problem was caused by the version of the program. Maybe your problem is in environment dependencies? Have you met some warinings or erros when building caffe or pycaffe?
from textboxes.
@shayuan You may use the wrong caffe root
from textboxes.
Hi MhLiao,
I am trying to replicate your results and want to run this application on Windows 7 64 bit, with Python 3.5. When I am running test_icdar13.py, I am getting caffe errors. Could you please help me how can I run this application on windows?
Thanks.
from textboxes.
@guddulrk What's your problem? I am wondering that my help may be limited because I never run such codes on Windows.
from textboxes.
Thanks MhLiao for your reply. I am getting following error.
from ._caffe import Net, SGDSolver
ImportError: DLL load failed: The specified module could not be found.
from textboxes.
@MhLiao thank you. I have solved my issue. Finally I found my mistake is that the downloaded zip files I used are not as the same as those from git cloned. Thank you anyway.
from textboxes.
@shayuan , I have the same error ,but I can't get your meanings from your answer above.Can you give me a hand? The following is my error:
ARNING: Logging before InitGoogleLogging() is written to STDERR
W0601 23:25:07.610895 6788 _caffe.cpp:122] DEPRECATION WARNING - deprecated use of Python interface
W0601 23:25:07.610927 6788 _caffe.cpp:123] Use this instead (with the named "weights" parameter):
W0601 23:25:07.610942 6788 _caffe.cpp:125] Net('/home/jsj/TextBoxes/examples/TextBoxes/deploy.prototxt', 1, weights='/home/jsj/TextBoxes/examples/TextBoxes/TextBoxes_icdar13.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 758:14: Message type "caffe.LayerParameter" has no field named "norm_param".
F0601 23:25:07.612809 6788 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/jsj/TextBoxes/examples/TextBoxes/deploy.prototxt
*** Check failure stack trace: ***
已放弃 (核心已转储)
from textboxes.
@yingning Be sure that your program is downloaded by using 'git clone ......' rather than uncompressing the zip file from the wibsite. My first try was stuck here, hope that will help you.
from textboxes.
I'm sure that my program is downloaded by using 'git clone ...' but the same error is displayed again :
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0607 14:24:41.039604 12278 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface
W0607 14:24:41.039634 12278 _caffe.cpp:140] Use this instead (with the named "weights" parameter):
W0607 14:24:41.039640 12278 _caffe.cpp:142] Net('/home/khalil/.local/install/caffe/TextBoxes/examples/TextBoxes/deploy.prototxt', 1, weights='/home/khalil/.local/install/caffe/TextBoxes/examples/TextBoxes/TextBoxes_icdar13.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 758:14: Message type "caffe.LayerParameter" has no field named "norm_param".
F0607 14:24:41.040966 12278 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/khalil/.local/install/caffe/TextBoxes/examples/TextBoxes/deploy.prototxt
*** Check failure stack trace: ***
Abandon (core dumped)
How can I resolve this issue?
Thanks.
from textboxes.
@shayuan ,I followed your advice that gitting clone the code ,and then adjust the path in test_icdar13.py .But I was not lucky for I was stucked in the same error.Thank you all the same!
from textboxes.
@yingning Adjusting the path in test_icdar13.py may be not enough, be sure that you have changed the caffe root into the python root, if not the caffe module you imported in python is the old version.
from textboxes.
@shayuan No, I have to install the dependencies and run make pycaffe and I have not received any errors.
Which version of program you use it ?
from textboxes.
@shayuan And for make -j8, make py commands, it shows me Make: nothing to do "all" Make: nothing to do for "py", that's normal ?
from textboxes.
@shayuan It's good I solve the problem.
The problem is that I write the caffe path install in the system not the caffe project path TextBoxes.
But, I have another problem in path save_dir
File "test_icdar13.py", line 48, in
detection_result=open(save_detection_path,'wt')
IOError: [Errno 2] No such file or directory: '/media/khalil/3da753f7-bd2c-43d5-a1e2-485bd5667bcf/khalil/Documents/Project/VGG-caffe/TextBoxes/python/data/TextBoxes/test_bb/res_img_4.txt'
from textboxes.
It's good I solve the problem 👍
from textboxes.
@khalilo ,Could you mind telling me how to solve your problems mentioned above? Can you share your test_icdar13.py ?I stucked here for a long time.Thank you in advance!
from textboxes.
Related Issues (20)
- Running TextBoxes on Caffe installed in Anaconda3 env HOT 2
- can not compile the CRNN HOT 5
- cannot find -lopencv_imgcodes HOT 1
- 关于模型的参数设置问题 HOT 3
- demo.py takes about 0.4s per image, when the model load only once and single scale is 700*700
- 关于 multi-scale的问题
- 关于Test的一些问题 HOT 8
- when i run "python examples/TextBoxes/train_icdar13.py",the error is occured when i train on my dataset.
- importError: libhdf5.so.101 HOT 1
- Where to place the downloaded model?
- Failed to run make -j8 HOT 1
- 请问如何您有synthtext数据集格式转换为icdar格式的脚本嘛,谢谢您分享一下鸭
- 请问如何能分享一下synthtext格式转换为icdar格式的脚本吗,谢谢鸭
- testing results on Total-Text HOT 1
- call for loss info/curve.
- 关于TextBoxes_icdar13.caffemodel模型
- Question about mismatch between the code with original paper
- icdar13 dataset consists of 229 training images and 233 testing images,
- will this work as an OCR solution? HOT 1
- Fine tuning on custom dataset: converting to LMDB HOT 5
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 textboxes.