Код: Выделить всё
samples = samples.to(device, non_blocking=True)
^^^^^^^^^^
AttributeError: 'list' object has no attribute 'to'
< /p>
Подробнее здесь: https://stackoverflow.com/questions/796 ... lly-a-tens
Код: Выделить всё
samples = samples.to(device, non_blocking=True)
^^^^^^^^^^
AttributeError: 'list' object has no attribute 'to'