Skip to content
Extraits de code Groupes Projets
Valider 6633c2a8 rédigé par Victor Joos de ter Beerst's avatar Victor Joos de ter Beerst
Parcourir les fichiers

Adds regular python launcher instead of poetry run

parent 64a4fbe2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Pipeline #27835 annulé
......@@ -19,11 +19,11 @@ poetry install
Once the project has been installed, you can run it with the following command:
```
poetry run flashtrain
python -m hydra_flash.train
```
You can, for example, change the learning rate using :
```
poetry run flashtrain model.learning_rate=1e-2
python -m hydra_flash.train model.learning_rate=1e-2
```
......@@ -23,3 +23,7 @@ def main(cfg):
predict_datamodule = instantiate(cfg.predict_datamodule)
predictions = trainer.predict(model, datamodule=predict_datamodule, output="labels")
log.info(f"predictions : {predictions}")
if __name__ == "__main__":
main()
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter