shubz_308:

68 sample = {‘image’: image, ‘joints’: joints}
69 if self.transform:
—> 70 sample = self.transform(sample)


you are passing a dictionary to self.transform which the error points out.
try self.transform(image).