ERROR
[Plot] TypeError: Image data of dtype object cannot be converted to float
파송송
2022. 12. 30. 20:13
728x90
float 형태로 변환이 제대로 안되어서 생긴 오류
image_list.append(G.forward(torch.FloatTensor([0.5])).detach().numpy())
numpy -> numpy()
이 부분을 수정하여 오류 해결
728x90