Open raphaelshirley opened 5 years ago
Hi Raphael,
Could you let me know what version of tensorflow and keras you have installed?
I've also recently made some updates, so please try again on the new version by upgrading astrorapid with pip install astrorapid --upgrade
Thanks,
Daniel
Hi Daniel,
Thanks for getting back to me.
Here are the versions:
tensorflow 1.1.0 py36_0 conda-forge keras 2.2.4 py36_0 conda-forge
Upgrading astrorapid didn't fix the problem. I've attached my full environment in case that helps
I'll let you know if I figure it out.
Cheers,
Raphael.
Hi Raphael,
You have a very old version of TensorFlow - can I suggest that you upgrade tensorflow?
It looks like this is a known issue with the old version of tensorflow (https://github.com/keras-team/keras/issues/10631)
Cheers,
Daniel
Hi Daniel,
Yes that did it. Thanks very much and sorry to bother you when it wasn't an issue with your code.
We are thinking about training it on broad band photometry in addition to the images of the host. Have you got any experience doing that?
Thanks again,
Raphael.
Hi Raphael,
No problem at all. Thanks for letting me know about the bug in the older TensorFlow.
I haven't done that specifically as I don't have an image of the host for ZTF, but I could imagine running the image of the host through a CNN and passing the features from that as contextual information in RAPID (or any light curve RNN). This sounds interesting, and I'd be happy to help out with it!
All the best,
Daniel
On Thu, 25 Jul 2019 at 05:28, Raphael Shirley notifications@github.com wrote:
Hi Daniel,
Yes that did it. Thanks very much and sorry to bother you when it wasn't an issue with your code.
We are thinking about training it on broad band photometry in addition to the images of the host. Have you got any experience doing that?
Thanks again,
Raphael.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/daniel-muthukrishna/astrorapid/issues/2?email_source=notifications&email_token=AEIAIGGEF3XQS3REJROYMQ3QBGE4HA5CNFSM4IFHCEE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2ZGGGA#issuecomment-515007256, or mute the thread https://github.com/notifications/unsubscribe-auth/AEIAIGEUN47ITQPGCTSQKZLQBGE4HANCNFSM4IFHCEEQ .
Hi,
I am trying to run astrorapid and and getting a TypeError: while_loop() got an unexpected keyword argument 'maximum_iterations', when try to run the examples (either the one here or the one on read the docs). I've attached the error trace below.
Any help in fixing this would be greatly appreciated.
Many thanks,
Raphael.
TypeError Traceback (most recent call last)