fast_dev_run not supported
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
Direzione di ricerca
Read graphnet/models/easy_model.py around lines 134 and 181, where the issue says the ModelCheckpoint callback is created and the checkpoint is later loaded. Reproduce by calling EasySyntax's fit() with fast_dev_run=True in trainer_kwargs. Done means this run no longer fails while loading a missing checkpoint.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
When model.fit() is run with fast_dev_run=True, the code crashes.
fast_dev_run=True disables model checkpoints, but easy_model.py creates the ModelCheckpoint callback regardless (L134). When the same file later checks for the model checkpoint (L181), it doesn't find a file and crashes.
To Reproduce
Run fit() from EasySyntax with fast_dev_run=True passed in (interpreted as one of the trainer_kwargs).
Expected behavior
Expected easy_model.py would not create the ModelCheckpoint callback given fast_dev_run=True.
Full traceback
Please include the full error message to allow for debugging
Traceback (most recent call last):
File "/mnt/home/mayhewfi/DP/event-nn/python/Train.py", line 334, in <module>
main(args)
File "/mnt/home/mayhewfi/DP/event-nn/python/Train.py", line 282, in main
model.fit(
File "/mnt/ffs24/home/mayhewfi/DP/graphnet/src/graphnet/models/easy_model.py", line 182, in fit
torch.load(
File "/mnt/home/mayhewfi/DP/event-nn-env/lib/python3.11/site-packages/torch/serialization.py", line 998, in load
with _open_file_like(f, 'rb') as opened_file:
^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/home/mayhewfi/DP/event-nn-env/lib/python3.11/site-packages/torch/serialization.py", line 445, in _open_file_like
return _open_file(name_or_buffer, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/home/mayhewfi/DP/event-nn-env/lib/python3.11/site-packages/torch/serialization.py", line 426, in __init__
super().__init__(open(name, mode))
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ''
- Lingua principale
- Python
- Stelle
- 117
- Fork
- 115
- Merge medio
- 2g 21h
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna 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 graphnet-team/graphnet
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
graphnet-team/graphnet#933 ·
-
Spring cleanAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
graphnet-team/graphnet#927 · 1 commento ·
-
Time for a new version release v1.8.1Forse di nuovo libera @Aske-Rosted l’ha presa 75 giorni fa e non c’è nessuna pull request aperta. Apertadecision
graphnet-team/graphnet#924 · 1 assegnatario ·
-
Make kaggle checkpoints part of the CIForse di nuovo libera @sevmag l’ha presa 75 giorni fa e non c’è nessuna pull request aperta. Apertabug
graphnet-team/graphnet#921 · 2 commenti · 1 assegnatario ·
-
decision deferred
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
graphnet-team/graphnet#919 ·
Tutte le issue di graphnet-team/graphnet
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
marketcalls/openalgo#2502 ·
I maintainer di solito rispondono entro 1 giorno
-
test_a_503_raises_unavailable_error fails on macOS about one run in sixForse già presa @naman-modi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Deltakit/deltakit-compile#27 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
vllm-project/vllm#69791 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100