Add example directory and example scripts of using a pretrained model

Abierto
#580 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python, pytorch

Línea de trabajo

Read the pretrained model work introduced in #567 and inspect the existing examples to learn how models are loaded and used for inference. The proposed examples/06_pretrained directory should cover prediction with and without config files and comparing models on one dataset; first check whether downstream training is currently supported. Done means the directory contains working examples for the supported use cases.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

feature

With the introduction of #567 we now have pretrained models in the library. But we don't have any examples showing how they might be used for inference. I think creating a new directory examples/06_pretrained and adding some example scripts for various use cases of using pretrained models.

Some use-cases that come to mind

  1. Predicting on a dataset with/without config files.
  2. Benchmarking multiple models against one another on the same dataset.
  3. Downstream training. (Freezing the gnn-part, but replacing the task/final MLP (this might not be possible in the current GraphNeT and might deserve it's own issue)).
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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de graphnet-team/graphnet

Todos los issues de graphnet-team/graphnet

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.