AttributeError: 'DataParallel' object has no attribute 'items ...
discuss.pytorch.org › t › attributeerrorOct 04, 2018 · import torch import torch.nn as nn from torch.autograd import Variable from keras.models import * from keras.layers import * from keras.layers import Input, Add, Dense, Activation, ZeroPadding2D, BatchNormalization, Flatten, Conv2D, AveragePooling2D, MaxPooling2D, GlobalMaxPooling2D from keras.models import Model, load_model from keras import backend as K K.set_image_dim_ordering('th') import ...