Open Abhinav-974 opened 2 months ago
You can just repeat the single channel and feed that to the infer method. From the demo script, you can change line 11 to rgb_torch = torch.from_numpy(rgb).unsqueeze(0).repeat(3,1,1)
rgb_torch = torch.from_numpy(rgb).unsqueeze(0).repeat(3,1,1)
You can just repeat the single channel and feed that to the infer method. From the demo script, you can change line 11 to
rgb_torch = torch.from_numpy(rgb).unsqueeze(0).repeat(3,1,1)