Accenture / AmpliGraph

Python library for Representation Learning on Knowledge Graphs https://docs.ampligraph.org
Apache License 2.0
2.14k stars 251 forks source link

AttributeError: 'ScoringBasedEmbeddingModel' object has no attribute '_reset_compile_cache' #280

Closed cobycloud closed 2 weeks ago

cobycloud commented 6 months ago

AttributeError: 'ScoringBasedEmbeddingModel' object has no attribute '_reset_compile_cache'

cobycloud commented 6 months ago

ScoringBasedEmbeddingModel.compile() uses self._reset_compile_cache() within, which triggers this issue.

ddofer commented 4 months ago

Same issue - I tried running the default example (https://docs.ampligraph.org/en/latest/examples.html) and it fails on this

bpsut commented 1 month ago

Just got this issue too, anyone already have a work around?

sumitpai commented 1 month ago

Downgrade the version of tensorflow to 2.12 and it should work.

bpsut commented 1 month ago

Awesome, thank you, that worked perfectly.