Skip to content

Increment in the i in the Dataset class #9

@davidsuculum

Description

@davidsuculum

In the next line in the Dataset class:

y = np.squeeze(data_preprocessing(np.array(self.dataset[self.keys[i+3]])[np.newaxis,:,:]))

I wonder if if instead of i+3 it wouldn't be i+4. Because, if I understand it correctly, RainNet takes the last 4 timesteps and predicts the next one (the 5th). So, with i+3 we are still in one of the data points in the x array, that runs in range(4), so from 0 to 3. Am I right or am I misunderstanding something? Thanks, @PradyumnaGupta

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions