Open PratikKulkar opened 1 day ago
Hey :) Yes, this makes sense when the background noise files are quite long. The sound durations can be cached too, to reduce the amount of lookups, which may be relevant for people running spinning hard drives.
One complication is that it would not work for all file formats
Proposed Algorithm:
This approach ensures that:
Experiments and Results:
I’ve tested this algorithm using:
This optimized approach significantly reduces memory usage while maintaining augmentation quality. I’ve attached the comparison plot showcasing the performance difference for your reference.
Please let me know your thoughts on this proposal and if any further details or clarifications are needed.
In the below figure First plot shows difference between memory usage over the test_cases normalized for by 1e6 and next graph is time taken comparison of old vs proposed.