Git Product home page Git Product logo

Comments (9)

Z-yq avatar Z-yq commented on May 28, 2024

@jaspercloud ,hi

I didn't see the wrong message,

Can you provide specific failure information?

from tensorflowasr.

jaspercloud avatar jaspercloud commented on May 28, 2024

代码停在self.train_datasets.take(self.train_steps_per_epoch):没有往下执行
def _train_batches(self):
"""Train model one epoch."""
try:
for batch in self.train_datasets.take(self.train_steps_per_epoch):

from tensorflowasr.

Z-yq avatar Z-yq commented on May 28, 2024

前几个step 都会比较慢,涉及资源的申请等操作。

建议可以先设置小一点的batch_size(例如4)进行测试。

from tensorflowasr.

jaspercloud avatar jaspercloud commented on May 28, 2024

前几个step 都会比较慢,涉及资源的申请等操作。

建议可以先设置小一点的batch_size(例如4)进行测试。

from tensorflowasr.

jaspercloud avatar jaspercloud commented on May 28, 2024

前几个step 都会比较慢,涉及资源的申请等操作。
建议可以先设置小一点的batch_size(例如4)进行测试。

停了半小时了

from tensorflowasr.

Z-yq avatar Z-yq commented on May 28, 2024

在usage中写了格式如下:
file_path1 \t text1
file_path2 \t text2
…………
其中 ’\t’ 为水平制表符

可以将所有的‘try’去掉,以查明具体错误原因。

from tensorflowasr.

jaspercloud avatar jaspercloud commented on May 28, 2024
    try:
        final_outputs, final_state = decoder.finalize(
            final_outputs, final_state, final_sequence_lengths
        )
    except NotImplementedError:
        pass

File "/root/anaconda3/envs/tf2/lib/python3.6/site-packages/tensorflow_addons/seq2seq/decoder.py", line 101, in finalize
raise NotImplementedError
去掉NotImplementedError报错,加上代码停在train

from tensorflowasr.

Z-yq avatar Z-yq commented on May 28, 2024

from tensorflowasr.

jaspercloud avatar jaspercloud commented on May 28, 2024

正确安装所需库后,模型相关的是不会有问题的。 还是需要看看数据读取方面。------------------ 原始邮件 ------------------ 发件人: "jaspercloud"<[email protected]> 发送时间: 2020年11月3日(星期二) 下午4:41 收件人: "Z-yq/TensorflowASR"<[email protected]>; 抄送: "Z-yq"<[email protected]>;"Assign"<[email protected]>; 主题: Re: [Z-yq/TensorflowASR] train failed (#12)

requirments.txt全部安装了,python3.6 tensorflow2.2

from tensorflowasr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.