Views
No views yet
majorcateg_run3jseq)subcateg_run3jseq)eirpredict tool.uv pip install git+https://github.com/arnor-sigurdsson/EIR.git@0.13.x-maintenance1from huggingface_hub import snapshot_download
2
3model_path = snapshot_download(
4 repo_id="arnorsig/danish-food-classification",
5 allow_patterns="majorcateg_run3jseq/*"
6)
7print(f"Model downloaded to: {model_path}")
8
9model_path = snapshot_download(
10 repo_id="arnorsig/danish-food-classification",
11 allow_patterns="subcateg_run3jseq/*"
12)
13print(f"Model downloaded to: {model_path}")eirpredict \
--global_configs predict_global_config.yaml \
--input_configs predict_input_config.yaml \
--output_configs predict_output_config.yaml \
--model_path subcateg_run3jseq/training_output/saved_models/output_model_6300_perf-average=0.9312.pt \
--output_folder my_predictions