Open confusedmatrix opened 6 months ago
@peterdudfield The model doesn't seem like being passed Nans (or zeros for that matter). Get the following error:
File "/Users/chris/Library/Caches/pypoetry/virtualenvs/india-forecast-app-_WmL7Pf1-py3.11/lib/python3.11/site-packages/pvnet/models/multimodal/multimodal.py", line 334, in forward
id = x[BatchKey[f"{self._target_key_name}_id"]][:, 0].int()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
IndexError: index 0 is out of bounds for dimension 1 with size 0
Pull Request
Passes Nans to model when wind generation data does not exist for the given time period.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Checklist: