Giter VIP home page Giter VIP logo

rnnt-pytorch's People

Contributors

demiseom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rnnt-pytorch's Issues

RuntimeError: CUDA error: an illegal memory access was encountered

train_loss = model(inputs, targets_list, input_sizes, target_sizes)
File "/home/Liangcd/anaconda3/envs/pyEnv/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/home/Liangcd/code/pytorch/RNNT-pytorch-master/models/models.py", line 188, in forward
loss = self.loss(out, ys.int(), xlen, ylen)
File "/home/Liangcd/anaconda3/envs/pyEnv/lib/python3.7/site-packages/torch/nn/modules/module.py", line 541, in call
result = self.forward(*input, **kwargs)
File "/home/Liangcd/anaconda3/envs/pyEnv/lib/python3.7/site-packages/warprnnt_pytorch-0.1-py3.7-linux-x86_64.egg/warprnnt_pytorch/init.py", line 100, in forward
return self.loss(acts, labels, act_lens, label_lens, self.blank, self.reduction)
File "/home/Liangcd/anaconda3/envs/pyEnv/lib/python3.7/site-packages/warprnnt_pytorch-0.1-py3.7-linux-x86_64.egg/warprnnt_pytorch/init.py", line 40, in forward
grads /= minibatch_size
RuntimeError: CUDA error: an illegal memory access was encountered

bptt 질문있습니다.

논문에서는 bptt를 사용했다고 봤던 것 같은데, 해당 소스에는 bptt 구현은 없는 것 같네요?
layer가 한종류라면은 쉽게 구현 가능할텐데, transcript와 prediction이 따로 네트워크로 존재하다보니, 어떻게 해야할지 크게 난항을 겪고있습니다 ㅠㅠㅠ

혹시 좋은 아이디어 없으신지요?

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.