LeeBinshan
LeeBinshan
I find the project path is not right, errors "No module named 'tools'" , when I debug this demo. so, how to set the filepath and programpath?
I plot the GradCAM with my model(input 1*24*24) and data (24*24*1) so happens: “Exception has occurred: InvalidArgumentError slice index 2 of dimension 1 out of bounds. [Op:StridedSlice] name: strided_slice/ tensorflow.python.eager.core._NotOkStatusException:...
train_loader = DataLoader(dataset=train_data, sampler=ImbalancedDatasetSampler(train_data), # sampler for imbalanced dataset batch_size=args.batch_size, shuffle=False, num_workers=args.workers, drop_last=True)