"""
This run file shows how to use the default SL train loop provided in CORDS and 
run it with default arguments using the configuration files provided in CORDS.
"""


from train_sl import TrainClassifier
from cords.utils.config_utils import load_config_data

#CORDS comes with some predefined configuration files that mentiones the format of 
config_file = "configs/SL/config_shapis_tinyimagenet.py"
# config_file = "configs/SL/config_full_tinyimagenet.py"

config_data = load_config_data(config_file)
classifier = TrainClassifier(config_data)



#classifier.configdata.dss_args.type = "Random"
#classifier.configdata.dss_args.type = "Full"
#classifier.configdata.dataset.name = "LawSchool" #"abalone"
classifier.train()
