google-deepmind / graph_nets

Build Graph Nets in Tensorflow
https://arxiv.org/abs/1806.01261
Apache License 2.0
5.34k stars 783 forks source link

Error while importing sonnet about gast #137

Closed pshrini closed 3 years ago

pshrini commented 3 years ago

ConversionError: converting <function BaseBatchNorm.call at 0x00000268C3EF7950>: AttributeError: module 'gast' has no attribute 'Constant'

My gast version is 0.3.3 Tensorflow 2.3.1 graph-nets 1.1

How I installed graph-nets pip install "graph_nets>=1.1" "tensorflow>=2.1.0-rc1" "dm-sonnet>=2.0.0b0" tensorflow_probability

This is on my Windows PC.

alvarosg commented 3 years ago

(This seems to be a duplicate of #136, so let's continue the discussion there)

Since this seems to be Sonnet related, I would recommend raising an issue against the sonnet repo, including the full stack trace of the error.