Implement p_mode="per_example" in Compose()
See original GitHub issueHi, thanks for this great software!
Is per_example
supported currently or not? With the ValueError
raised in Compose
(https://github.com/asteroid-team/torch-audiomentations/blob/master/torch_audiomentations/core/composition.py#L30), I assume it is not supported in Compose
. But the readme says it is supported - does it mean that it’s supported in individual transforms but not in Compose
?
Maybe it’s worth using it in the example code in readme
😃
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Locally scoped data with CompositionLocal | Jetpack Compose
CompositionLocal is a tool for passing data down through the Composition implicitly. In this page, you'll learn what a CompositionLocal is in more...
Read more >Divider component not found in Android Jetpack Compose ...
I'm currently working on an Android UI entirely Compose based. I need to put a Divider component between 2 lists implemented as LazyColumn ......
Read more >7 Useful Android Jetpack Compose Libraries You Should Use ...
In my opinion, a good project makes use of some of the best libraries available. Jetpack compose is the Android family's newest and...
Read more >Build adaptive apps with Jetpack Compose - Google Codelabs
padding() ). We use the Resizable emulator for this codelab, as it lets us switch between different types of devices and screen sizes....
Read more >API Guidelines for Jetpack Compose
equals() for objects is always a correct implementation of this contract. Jetpack Compose framework development and Library development SHOULD ...
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 FreeTop 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
Top GitHub Comments
Agree that
p_mode="per_example"
would be the most relevant. I changed the figure on my side.Related to that, I think
p_mode="per_example"
would be quite necessary inCompose()
. I don’t know the implementation deeply enough but why would it be not well-defined? I’d assume, ifCompose(p_mode="per_example", p=0.8)
, 20% of examples would be never augmented while 80% of them would go through the stochastic augmentation pipeline.I’m glad you like it 😃 If you want to make a contribution, that would be welcome