Open Taiga10969 opened 1 year ago
11_cnn_pytorch/02_cam.ipynb CNNの可視化 (Class Activation Mapping; CAM)について Google Colaboratoryで実行したところ,以下のエラーが出ました.
AttributeError: '_MultiProcessingDataLoaderIter' object has no attribute 'next'
images, labels = dataiter.next()を以下に変更することで解決しました. images, labels = next(dataiter)
11_cnn_pytorch/02_cam.ipynb CNNの可視化 (Class Activation Mapping; CAM)について Google Colaboratoryで実行したところ,以下のエラーが出ました.
AttributeError: '_MultiProcessingDataLoaderIter' object has no attribute 'next'
images, labels = dataiter.next()を以下に変更することで解決しました. images, labels = next(dataiter)