I’m using pytorch 1.9. I know that using 1.8 would solve it but I absolutely have to use 1.9.
I have the same error but with “container_abcs” solved with “import collections.abc as container_abcs” the problem remains with “int_classes”. Does anyone have any solution to solve this problem besides pytorch downgrade.