'tuple' object has no attribute 'cuda' · Issue #155 ...
github.com › IntelLabs › distillerFeb 13, 2019 · 'tuple' object has no attribute 'cuda' #155 Closed HKLee2040 opened this issue on Feb 13, 2019 · 1 comment nzmora self-assigned this on Feb 17, 2019 nzmora added the bug label on Feb 18, 2019 nzmora added this to Needs triage in distiller dev via automation on Feb 27, 2019 levzlotnik pushed a commit that referenced this issue on Mar 4, 2019
Help me: AttributeError: 'tuple' object has no attribute 'cpu ...
discuss.pytorch.org › t › help-me-attributeerrorMar 16, 2021 · Hi, can someone help me please: I’m try to run the code below, but I got this issues: rend = rend.cpu().data.numpy().transpose((0, 2, 3, 1)) AttributeError: ‘tuple’ object has no attribute ‘cpu’ I also printed the shape of this turple: torch.Size([1, 3, 244, 244]) torch.Size([1, 244, 244]) torch.Size([1, 244, 244]) I’ve tried a lot of ways to solve this, but I got other issues… 😑
Help me: AttributeError: 'tuple' object has no attribute 'cpu'
https://discuss.pytorch.org/t/help-me-attributeerror-tuple-object-has...16.03.2021 · Hi, can someone help me please: I’m try to run the code below, but I got this issues: rend = rend.cpu().data.numpy().transpose((0, 2, 3, 1)) AttributeError: ‘tuple’ object has no attribute ‘cpu’ I also printed the shape of this turple: torch.Size([1, 3, 244, 244]) torch.Size([1, 244, 244]) torch.Size([1, 244, 244]) I’ve tried a lot of ways to solve this, but I got other issues… 😑