Comments (9)
Waiting for your response!
from east.
@wangyuxin87 hi, the code has been only tested on my environment, which is shown in README. So if you are using another environment which causes that bug, change num_workers
to 0 and try again. I hope this helps : )
from east.
Thanks for your code and response!
I have some new issue, can you help me?
root@bfd0e7a2dba1:/home/yxwang/pytorch/EAST# CUDA_VISIBLE_DEVICES=6,7 python3 train.py
Traceback (most recent call last):
File "train.py", line 66, in
train(train_img_path, train_gt_path, pths_path, batch_size, lr, num_workers, epoch_iter, save_interval)
File "train.py", line 35, in train
for i, (img, gt_score, gt_geo, ignored_map) in enumerate(train_loader):
File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 615, in next
batch = self.collate_fn([self.dataset[i] for i in indices])
File "/usr/local/lib/python3.5/dist-packages/torch/utils/data/dataloader.py", line 615, in
batch = self.collate_fn([self.dataset[i] for i in indices])
File "/home/yxwang/pytorch/EAST/dataset.py", line 384, in getitem
lines = f.readlines()
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 0: ordinal not in range(128)
Waiting for your response!
from east.
Putting #coding=utf-8
in the 1st line may help
from east.
I try # coding=utf-8 or # coding:utf-8 in the 1st line of dataset.py, it does not work.... Do you have any other idea? Thanks
from east.
you may refer to https://stackoverflow.com/questions/35028683/python3-unicodedecodeerror-with-readlines-method
from east.
Thanks! It has worked. Do you add ICDAR 2013 in your training images? I think it will improve the performance.
from east.
The data distribution in 13 and 15 still exists difference, so you can try and welcome to share the results : )
from east.
The results get worse when I change the basic network to Resnet50, do you have any idea?
By the way, it obtains the same performance with extra dataset(ICDAR2013).
from east.
Related Issues (20)
- 作者大佬有试过focal loss吗 HOT 1
- 关于crop_img的is_cross_text函数 HOT 2
- 求助
- 关于模型测试
- 交叉熵
- According to find_min_rect_angle HOT 3
- According to crop_img HOT 1
- 直接加载训练好的模型,也不能复现性能 HOT 1
- ZIP entry not valid HOT 1
- How many epochs were trained for the pretrained model?
- Question: Saving checkpoints
- what is submit.zip HOT 1
- 无法得到作者的精度 HOT 3
- ZeroDivisionError: float division by zero
- 请帮忙看看,测试不了是什么情况 HOT 2
- 执行python train.py 遇到以下问题。望回复 HOT 1
- The sample not present in GT
- add languages
- RGBA support with png images
- Error loading the ZIP archive 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 east.