I found py-MDNet very interesting and I would like to use it a lot.
So, I tried to train a new model based on a new dataset.
However, when I was running the program for the 4th cycle,
it returns "RuntimeError: the given numpy array has zero-sized dimensions. Zero-sized dimensions are not supported in PyTorch".
It is from data_prov.py on line 63
neg_regions = torch.from_numpy(neg_regions).float().
called by train_mdnet.py on line 64
pos_regions, neg_regions = dataset[k].next()
Hi Hyeonseob,
I found py-MDNet very interesting and I would like to use it a lot. So, I tried to train a new model based on a new dataset.
However, when I was running the program for the 4th cycle, it returns
"RuntimeError: the given numpy array has zero-sized dimensions. Zero-sized dimensions are not supported in PyTorch"
.It is from data_prov.py on line 63
neg_regions = torch.from_numpy(neg_regions).float()
.called by train_mdnet.py on line 64
pos_regions, neg_regions = dataset[k].next()
Thank you. Best, Peratham