The InitializationNotebook is not working properly. As segmentation is the core of this repository, it would be great if the developers can fix the issue and update their code.
The error below has been reported many times:
RuntimeError Traceback (most recent call last)
~\AppData\Local\Temp\2\ipykernel_6640\517464012.py in <cell line: 19>()
32 x = x.to(device)
33 #print('x shape', x.shape)
---> 34 y = np.concatenate([model(x[i:(i + block), :, :, :])["out"].detach().cpu().numpy() for i in range(0, x.shape[0], block)]).astype(np.float16)
35 print(y.shape)
36 start = 0
RuntimeError: Given groups=1, weight of size [45, 3, 1, 7, 7], expected input[1, 104, 3, 112, 112] to have 3 channels, but got 104 channels instead