Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在training时卡住 #79

Open
hongzicong opened this issue Jun 13, 2020 · 5 comments
Open

在training时卡住 #79

hongzicong opened this issue Jun 13, 2020 · 5 comments

Comments

@hongzicong
Copy link

您好,由于我按原本设置时traning在step 1时就卡住了,几个小时都不会动。然后 我将step设为1,batch_size设为1,打算测试一下能否运行,但仍是step 1就卡住了,不知道大家有没有办法

@donald2016
Copy link

我也卡在相同位置,你解決了嗎?是用什麼方法?

@xianzhe-741
Copy link

您好,由于我按原本设置时traning在step 1时就卡住了,几个小时都不会动。然后 我将step设为1,batch_size设为1,打算测试一下能否运行,但仍是step 1就卡住了,不知道大家有没有办法

你好,我使用过程中有两个问题请教一下:

  1. test.py过程中使用作者docker中的模型text_recognition_5435.pb,在_ = tf.import_graph_def(graph_def, name='')时报错 InvalidArgumentError (see above for traceback): The second input must be a scalar, but it has shape [1,33]
    2.在train.py时报错
    File "/usr/local/lib/python3.5/dist-packages/tensorpack/train/config.py", line 119, in init
    assert_type(model, ModelDescBase, 'model')
    File "/usr/local/lib/python3.5/dist-packages/tensorpack/train/config.py", line 107, in assert_type
    name, tp.name, v.class.name)
    AssertionError: model has to be type 'ModelDescBase', but an object of type 'AttentionOCR' found.

@xianzhe-741
Copy link

请问你训练过程有没有遇见这个bug?

@wonder2025
Copy link

同样被卡住

@xianzhe-741
Copy link

我后来走通了,大致告诉大家,别用作者给的docker自己去配置环境。按要求配置好环境去运行代码,基本能很顺畅的走通

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants