dushaobo16

Results 2 comments of dushaobo16

The main reason for this problem is that there are single channel images in the data set. Solution: just add. convert ('rgb ') in datasets.py file iterm_B = self.transform(Image.open(self.files_B[random.randint(0, len(self.files_B)-1)]).convert('RGB'))

![image](https://user-images.githubusercontent.com/25036206/173572582-638b5c3a-8a15-425e-9b0b-98086db1759d.png) 万方获取PDF时出现这个错误。PDF文件无法获取,但是可以获取摘要信息。