Why does my custom dataset fail in self.transform - object has no attribute 'transfrom'

后端 未结 0 1024
北海茫月
北海茫月 2021-01-01 02:06

I\'m trying to create a custom dataset, but it fails in transform.

bellow is my code:

transform = transforms.Compose([transforms.ToPILImage(),
                 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题