Closed zhanwenchen closed 1 year ago
It's not because of the random seed.
Let's debug from the df side
Also, we are saving the result to the object.
Maybe it's because generator or distributed (in other words, cuda=0 in legion vs on lab)?
Maybe implement a singleton object for vgstats
There is now a problem of PIL images in the dataset.
Is there a reason why I didn't use the dataloader dataset for the stats. Is it because of the transforms?
The PIL images in the dataset didn't come from getitem of the graft augmented. It's not run() either.
Maybe need to deepcopy dataset because it's set to None? That's it!!!! Deepcopy in graftaugmenter worked!
Keep running to see if there's any more sample mismatch issue.
There was a NotImplementedError
after 400 iterations. That was probably because the graftdataset had a commented out getitem for debugging purposes.
Closed by #50 #86
🐛 Bug
To Reproduce
Steps to reproduce the behavior:
1. 1. 1.
Expected behavior
Environment
Please copy and paste the output from the environment collection script from PyTorch (or fill out the checklist below manually).
You can get the script and run it with:
conda
,pip
, source):Additional context