fast_dev_run not supported
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 55/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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: ''
- Lenguaje dominante
- Python
- Estrellas
- 117
- Forks
- 115
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 1
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de graphnet-team/graphnet
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
graphnet-team/graphnet#933 ·
-
Spring cleanAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
graphnet-team/graphnet#927 · 1 comentario ·
-
Time for a new version release v1.8.1Quizá libre de nuevo @Aske-Rosted la tomó hace 75 días y no hay ningún pull request abierto. Abiertodecision
graphnet-team/graphnet#924 · 1 asignado ·
-
Make kaggle checkpoints part of the CIQuizá libre de nuevo @sevmag la tomó hace 75 días y no hay ningún pull request abierto. Abiertobug
graphnet-team/graphnet#921 · 2 comentarios · 1 asignado ·
-
decision deferred
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
graphnet-team/graphnet#919 ·
Todos los issues de graphnet-team/graphnet
Issues similares
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
netbox-community/netbox-scripts#217 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
ApacheTomcatImporterPipeline truncates milestone fixed versions (e.g. 11.0.0-M6 -> 11.0.0)Posiblemente ocupada @nikolya-ctrl la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
aboutcode-org/vulnerablecode#2533 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
PermafrostDiscoveryGateway/water-timeseries-v2#312 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ClickHouse/dbt-clickhouse#829 ·
Los mantenedores suelen responder en 1 día