AmpliGraph icon indicating copy to clipboard operation
AmpliGraph copied to clipboard

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

Open cobycloud opened this issue 11 months ago • 5 comments

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

cobycloud avatar Mar 19 '24 03:03 cobycloud

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

cobycloud avatar Mar 19 '24 03:03 cobycloud

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

ddofer avatar Jun 04 '24 08:06 ddofer

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

bpsut avatar Aug 21 '24 15:08 bpsut

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

sumitpai avatar Aug 22 '24 08:08 sumitpai

Awesome, thank you, that worked perfectly.

bpsut avatar Aug 22 '24 14:08 bpsut