i need to replicate the train loader using these information. The main reason that i’m working only on features. After that, i need to compact these tensor into one, in order to be accepted by resnet18. These information are saved into
class_list[y].append([instance, single_instance[-1], labels]) where,
each object is a tensor (features, 28x28 tensor, 28 tensor label).
When i try to convert this into Tensor, i obtain an error of shape caused by 28x28 tensor…