Comments (6)
程序调用GPU了么?
from attentionocr.
@zhang0jhon 我按照你的设置跑的,测试是正常的,训练就出现这个问题
from attentionocr.
config.py 里的GPU设置改了么?
from attentionocr.
@zhang0jhon 我的卡是P4的,有四个显卡。设置成gpus = [0, 1, 2, 3],请问cuda 必须是10的吗?
from attentionocr.
可以尝试把train.py里面的GPUMemoryTracker()等Tracker的callbacks注释掉,我默认使用的是CUDA10 CUDNN7
from attentionocr.
@zhang0jhon 我的卡是P4的,有四个显卡。设置成gpus = [0, 1, 2, 3],请问cuda 必须是10的吗?
cuda9也可以,但是需要将tensorflow版本降低,同时更改对应的一些接口就可以了,我用的是tensorflow 1.8.0,cuda9
接口更改比如:
with tf.compat.v1.variable_scope(name, reuse=reuse) as scope:
改成:
with tf.variable_scope(name, reuse=reuse) as scope:
类似这些
其中model.py中的
h = tf.nn.dropout(h, rate = 1-keep_prob)
c = tf.nn.dropout(c, rate = 1-keep_prob)
改成
h = tf.nn.dropout(h, keep_prob = keep_prob)
c = tf.nn.dropout(c, keep_prob = keep_prob)
from attentionocr.
Related Issues (20)
- 作者训练的权重向量从docker拷贝出来上传到百度云,欢迎自取 HOT 3
- model from docker image doesnot work!
- I have some questions about training and testing
- Problems on how to calculate the probs in text recongnition
- how could i do, the train process will set on GPUS? HOT 1
- detect长度及长文本识别
- bilstm
- @zhang0jhon tensorflow run in static graph, can you give any hints on debugging during coding?
- pytorch版本实现
- There is some way to be able to execute the code without using DOCKER but only by console. I will be very grateful for your prompt response.
- steps_per_epoch根据训练集的不同需要修改吗? HOT 5
- 运行“ python train.py”时出现错误
- Network does not predict EOS token HOT 1
- $ symbol
- What's is the license information of this project?
- Formulae miscalculation
- for inception v4 stem and reduction_A the paper use valid for padding in conv3x3,why use same for padding here?
- abcnet accuracy
- 为什么不把图像裁剪下来单独训练,而是将整个图像先加载在裁剪呢?这样batch_size不就需要变小了吗? HOT 1
- train.py error ModelDescBase?
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 attentionocr.