lanl / OpenFWI

A collection of codes with OpenFWI project
BSD 3-Clause "New" or "Revised" License
61 stars 10 forks source link

Need explanation about the working of dataset class #9

Open Kaustav546 opened 4 weeks ago

Kaustav546 commented 4 weeks ago

Does dataset class load the entire dataset into the memory and select one data from the bundle of 500 data, and reject the 499 data in that bundle? data = self.data_list[batch_idx][sample_idx]

Shihang-LANL commented 1 week ago

Please review the entire code to understand our approach. The command simply selects one sample from the loaded data_list.