Medical-Report-Generation icon indicating copy to clipboard operation
Medical-Report-Generation copied to clipboard

The problem of dataloader

Open wlufy opened this issue 3 years ago • 0 comments

targets = np.zeros((len(captions), max_sentence_num + 1, max_word_num))
prob = np.zeros((len(captions), max_sentence_num + 1))

When i read the dataset code, i found that the second dim of this two variable added to 1. I don't know why it's set up this way, could anyone help answer this? Thx

wlufy avatar Dec 03 '21 14:12 wlufy