question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reset input_mask during Generative.

See original GitHub issue

Hi Author,

I believe the input_mask need to be reset during generate, since the output sequence concat one more again and again?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
liuqiangictcommented, Mar 24, 2020

Oh, I see, missed that line, you are correct.

1reaction
lucidrainscommented, Mar 24, 2020

@liuqiangict https://github.com/lucidrains/reformer-pytorch/commit/352214dc4d2fb13c6018706ec226e60145a7c857 this will take care of padding the input mask for you when you are generating samples, assuming both your sequence and mask is left padded!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Input Mask Reactive] Currency input mask - Reset value to 0
I have an input field that using currency input mask for ', ' separator and decimal place. It works well but there is...
Read more >
jQuery maskedinput and form reset - Stack Overflow
When I display a record in the form and set the inputmask on the fields in question, the form initially displays the formatted...
Read more >
Control data entry formats with input masks - Microsoft Support
Learn how to add input masks in Access to table fields, queries, and to form and report controls to help people entering data....
Read more >
object detection github
To build a model that can detect and localize specific objects in images. ... We started with a gentle introduction to Generative Adversarial...
Read more >
Input Mask Guide | imaskjs
Instance of InputMask is returned when IMask constructor is called. ... var masked = mask.masked; masked.reset(); // UI will NOT be updated. In...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found