Hello! Just upgraded from my old version of pytorch to 1.9. I ran some code I am using which involves DataLoaders. In the old version of Pytorch it works as expected. In this one I get this error:
AttributeError: ‘DataLoader’ object has no attribute ‘persistent_workers’
I’ve been searching in the source code for the class to see if there is such an attribute there and there is. dict also proves that there is such an attribute. So what gives?
Any help would be appreciated!