What is the functionality of "seq.to_deterministic()"?
See original GitHub issueI notice that in the example of README.md
, all examples related with augmenting landmark points have a following line of code. However, it seems that the examples that only augment images do not.
seq_det = seq.to_deterministic() # call this for each batch again, NOT only once at the start
Is it necessary only for landmarks augmentation?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Deterministic Sequence - an overview | ScienceDirect Topics
QMCS, also known as quasi-random low discrepancy sequence (QRLDS), uses a deterministic sampling scheme to fill the space uniformly. QMCS quantifies the ...
Read more >Deterministic and Nondeterministic Functions - SQL Server
This article identifies the determinism of built-in system functions and the effect on the deterministic property of user-defined functions ...
Read more >Deterministic Tensorflow Part 2: Data Augmentation - jackd
This article focuses on methods of performing augmentation that is both deterministic (the same each time a program is run) and pre-emptible ( ......
Read more >Random Sequence to Deterministic Sequence (based on the ...
At the moment, the game randomly generates a sequence each time. I'm a bit stuck as to how I can change this. Essentially,...
Read more >Deterministic algorithm - Wikipedia
In computer science, a deterministic algorithm is an algorithm that, given a particular input, will always produce the same output, with the underlying...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
to_deterministic()
removes the randomness from all augmenters and makes them deterministic (e.g. for each parameter that comes from a distribution, it samples one value from that distribution and then keeps reusing that value). That is useful for landmark augmentation, because you want to transform images and their landmarks in the same way, e.g. rotate an image and its landmarks by 30 degrees. If you don’t have landmarks, then you most likely don’t need the function.I think it’s worth more documentation. Thank you, George