AIRI-Institute / al_ats

MIT License
4 stars 2 forks source link

Running train.sh #2

Open beepbeep63 opened 9 months ago

beepbeep63 commented 9 months ago

Hi! Thank you for your valuable research. I'm trying some data selection methods for my own research project but I'm running into some issues running train.sh after downloading all the requirements and running init.sh. I find that running train.sh doesn't do anything and i have to run run_active_learning.py directly. Even though I set the environment variables for the config folder and file (which i had to move to the active learning folder), I get errors about missing keys:

omegaconf.errors.ConfigAttributeError: Key 'data' is not in struct
    full_key: data
    object_type=dict

This happens with the keys for seed and offline_model as well when I set the config file as pubmed_idds_bart.yaml. Am I missing something?

beepbeep63 commented 9 months ago

Also nothing happens when running run_active_learning.py. Some logging appears at the start that shows configurations but it keeps running and nothing happens