Das Import des Aufmerksamkeitspakets in Keras gibt modulenotFoundError: kein Modul mit dem Namen "Aufmerksamkeit"

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Das Import des Aufmerksamkeitspakets in Keras gibt modulenotFoundError: kein Modul mit dem Namen "Aufmerksamkeit"

by Anonymous » 02 Jun 2025, 19:08

Im Rahmen meiner Importe importiere ich das Aufmerksamkeitspaket wie folgt: < /p>

from attention import AttentionLayer
< /code>

Ich erhalte den folgenden Fehler: < /p>

ModuleNotFoundError: No module named 'attention'
< /code>

Ich dachtepip install AttentionLayer
pip install Attention
pip install keras-self-attention
< /code>

Alle 3 geben mir: < /p>

Could not find a version that satisfies the requirement keras-self-attention (from versions: ) No Matching distribution found for....
< /code>

Warum bekomme ich es nicht zum Laufen und wie kann ich es beheben? < /p>

Ich habe den Verdacht, dass es möglicherweise mit der Festlegung des Pythonpaths zusammenhängt, aber ich habe keine Administratorrechte, um dies bei der Arbeit zu bearbeiten. < /p>

Danke.>

Top