I want to update my dataset class attributes after each epoch (actually during each epoch), which would affect the __getitem__ function in next epoch.
I realized that when we have multiple threads, separate dataset instances are created (or something like that) and so I wont have uniform attribute of all instances.
Is there an easy way to do this???
(Please ask if question is not clear )