将
from torch._six import container_abcs, string_classes, int_classes
改成:
string_classes = str
int_classes = int
import collections.abc as container_abcs
将
from torch._six import container_abcs, string_classes, int_classes
改成:
string_classes = str
int_classes = int
import collections.abc as container_abcs