how to change the path where the lightning logs ar...
# neural-forecast
j
how to change the path where the lightning logs are saved using autonhits?
m
I think you can specify a path using
default_root_dir
j
in: nf = NeuralForecast( or in: model = AutoNHITS( or where?
m
AutoNHITS if I remember correctly
j
thanks! so like: model = AutoNHITS( default_root_dir = self.folder_name, where self.folder_name is my folder
1
did not work unfortunately
unexpected input default_root_dir
m
Try in the config of NHITS. It's a Lightning kwarg, so it should work in there.
j
for example like: base_config= { "max_steps": [5000, 10000, 15000], "batch_size": [1, 5, 50], "windows_batch_size": [128, 256, 512], "input_size": [128, 252, 365], "learning_rate": [1e-5, 5e-3], "num_lr_decays": 3, "n_pool_kernel_size": [[4, 4, 4, 4, 4], [8, 8, 8], [16, 8, 1]], "n_freq_downsample": [[24, 12, 2, 1], [192, 96, 48, 24, 12, 2, 1]], "val_check_steps": 15, "dropout_prob_theta": [0.1, 0.4], "random_seed": [1, 100], "early_stop_patience_steps": [10, 30, 50], "defautl_root_dir": logger,
1