I use dataset and dataloader for my training script.
Is it OK to change dataset parameter during the traininng??
For example,
dataset = CustomDataset()
loader = DataLoader(dataset, num_worker=8)

for i, data in enumerate(loader):
     dataset.x = new_x

I saw that DataLoader use multithread and dataset is copied to other thread.
The change of dataset is reflected to the loader?
Thanks,