RuntimeError: expected scalar type Double but found Float.
The result is stored as int16 numpy files.
When checked in the evaluation script after commands below is of dtype torch.float64/torch.Double
res_img = tone_map(np.load(res_img))
ref_img = tone_map(np.load(ref_img))
res_img = torch.tensor(res_img).permute(2, 0, 1).unsqueeze_(0)
ref_img = torch.tensor(ref_img).permute(2, 0, 1).unsqueeze_(0).
Hi @hrishikeshps94,
You should store the results as Float type rather than int16 or uint8. Please refer to https://codalab.lisn.upsaclay.fr/forums/4874/653/.
Best,
Organizers