Accenture / AmpliGraph

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

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

Closed cobycloud closed 2 months ago

cobycloud commented 8 months ago

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

cobycloud commented 8 months ago

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

ddofer commented 5 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 3 months ago

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

sumitpai commented 3 months ago

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

bpsut commented 3 months ago

Awesome, thank you, that worked perfectly.