comparison multimodal_learner.xml @ 4:de753cf07008 draft

planemo upload for repository https://github.com/goeckslab/gleam.git commit 528178a2b2ca39924fd596859fe658aeaf984e6d
author goeckslab
date Thu, 22 Jan 2026 22:41:21 +0000
parents 25bb80df7c0c
children
comparison
equal deleted inserted replaced
3:25bb80df7c0c 4:de753cf07008
40 set -e; 40 set -e;
41 ln -sf '$input_csv' 'train_input.csv'; 41 ln -sf '$input_csv' 'train_input.csv';
42 #if $test_dataset_conditional.has_test_dataset == "yes" 42 #if $test_dataset_conditional.has_test_dataset == "yes"
43 ln -sf '$test_dataset_conditional.input_test' 'test_input.csv'; 43 ln -sf '$test_dataset_conditional.input_test' 'test_input.csv';
44 #end if 44 #end if
45
46 #set $TORCH_HOME = "./torch_cache"
47 #set $HF_HOME = "./hf_cache"
48 #set $HUGGINGFACE_HUB_CACHE = "./hf_cache/hub"
49 export TORCH_HOME="$TORCH_HOME" &&
50 export HF_HOME="$HF_HOME" &&
51 export HUGGINGFACE_HUB_CACHE="$HUGGINGFACE_HUB_CACHE" &&
52 mkdir -p "$TORCH_HOME" "$HUGGINGFACE_HUB_CACHE" &&
45 53
46 python '$__tool_directory__/multimodal_learner.py' 54 python '$__tool_directory__/multimodal_learner.py'
47 --input_csv_train 'train_input.csv' 55 --input_csv_train 'train_input.csv'
48 #if $test_dataset_conditional.has_test_dataset == "yes" 56 #if $test_dataset_conditional.has_test_dataset == "yes"
49 --input_csv_test 'test_input.csv' 57 --input_csv_test 'test_input.csv'