afeinstein20 / stella

For characterizing flares with convolutional neural networks
https://adina.feinste.in/stella
MIT License
26 stars 18 forks source link

New version of tensorflow breaks ``stella`` #32

Open TomWagg opened 1 month ago

TomWagg commented 1 month ago

Models for stella were run with an earlier version of tensorflow but for version >= 2.16 stella breaks when trying to evaluate. E.g.

ValueError: Kernel shape must have the same length as input, but received kernel of shape (3, 1, 16) and input of shape (None, None, 200, 1).

This should be a quick fix in the requirements.txt by capping the tensorflow version

github-actions[bot] commented 1 month ago

Hi there! This is a test of github actions.