Issues using Sonnet
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python, tensorflow
- Ambito
- machine-learning
Direzione di ricerca
Inizia riproducendo gli errori di importazione da src/dnc_model.py attraverso i file DNC dnc.py, access.py e addressing.py, quindi esamina sonnet/init.py nel pacchetto installato. Confronta le versioni di Sonnet e DNC coinvolte, quindi determina se l’esito documentato debba essere la compatibilità, un percorso di migrazione o un’incompatibilità esplicita.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello,
I'm having an issue attempting to run a project dependent on Sonnet (more specifically, the DeepMind DNC implementation). I'm getting the error:
Traceback (most recent call last):
File "PATH\src\dnc_model.py", line 7, in <module>
from dnc import dnc
File "PATH\libs\dnc\dnc\dnc.py", line 27, in <module>
import sonnet as snt
File "C:\Users\USER\AppData\Local\Programs\Python\Python39\lib\site-packages\sonnet\__init__.py", line 2, in <module>
from graphs import Sonnet, D3Graph, MatplotGraph
ModuleNotFoundError: No module named 'graphs'
Thinking that maybe I'm missing a package, I did the next obvious thing and ran pip install graphs (which I felt is not the solution, that graphs must be an internal package of sorts, but I still gave it a shot) and got the error ImportError: cannot import name 'Sonnet' from 'graphs'
I thought that maybe the version on pip is outdated, and it seems like it is. I then attempted to download the source code and run pip install -e on the extracted folder. However, after that, I get:
Traceback (most recent call last):
File "PATH\src\dnc_model.py", line 7, in <module>
from dnc import dnc
File "PATH\libs\dnc\dnc\dnc.py", line 30, in <module>
from dnc import access
File "PATH\libs\dnc\dnc\access.py", line 25, in <module>
from dnc import addressing
File "PATH\libs\dnc\dnc\addressing.py", line 58, in <module>
class CosineWeights(snt.AbstractModule):
AttributeError: module 'sonnet' has no attribute 'AbstractModule'
Does anyone have any idea what I could do to solve these issues? Is there a way I could modify the DNC code to work with modern Sonnet? Is there an alternative to AbstractModule in this use case?
- Lingua principale
- Python
- Stelle
- 10k
- Fork
- 1.3k
- Merge medio
- 50m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di google-deepmind/sonnet
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
google-deepmind/sonnet#323 ·
-
Laplace smoothing for EMA codebook updateForse di nuovo libera @ayushdebnath012 l’ha presa 428 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
google-deepmind/sonnet#272 · 1 commento · 2 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
google-deepmind/sonnet#271 · 10 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 30/100
google-deepmind/sonnet#265 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
google-deepmind/sonnet#257 · 2 commenti ·
Tutte le issue di google-deepmind/sonnet
Issue simili
-
needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
flashinfer-ai/flashinfer#9803 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
oscarbol09/thesisforge#61 ·
-
api bug performance
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
oscarbol09/audiobard#159 ·
-
area:web p2 product:business triage:active type:bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
cuadrao-ai/argus#2328 ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
nikhilb2/simple_invoicing#907 ·