You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just tried to load a checkpoint I have trained months ago and was puzzled by an error. According to the config that i get by kge dump checkpoint checkpoint_best.pt, the dataset name is "." and hence it tries to load the data from /home/user/kge/data/..
My question is, am I missing something here? It would be okay to load from /home/user/kge/data/dataset_name/, but what does the "." stand for? Is it safe to "inject" the correct dataset name by modifyng config.dataset.name?
I know I have loaded that checkpoint several times a few months ago without any problems. I have, however, switched machines and maybe not copied everything exactly.
Thanks a lot for any hint!
Traceback (most recent call last):
File "evaluate_test.py", line 143, in <module>
model = KgeModel.create_from(checkpoint)
File "/home/user/kge/kge/model/kge_model.py", line 581, in create_from
dataset = Dataset.create_from(checkpoint, config, dataset, preload_data=False)
File "/home/user/kge/kge/dataset.py", line 147, in create_from
dataset = Dataset.create(config, preload_data)
File "/home/user/kge/kge/dataset.py", line 110, in create
raise ValueError(f"Dataset with name {name} could not be found.")
ValueError: Dataset with name . could not be found.
```
The text was updated successfully, but these errors were encountered:
Hi!
I have just tried to load a checkpoint I have trained months ago and was puzzled by an error. According to the config that i get by kge dump
checkpoint checkpoint_best.pt
, the dataset name is "." and hence it tries to load the data from/home/user/kge/data/.
.My question is, am I missing something here? It would be okay to load from
/home/user/kge/data/dataset_name/
, but what does the "." stand for? Is it safe to "inject" the correct dataset name by modifyngconfig.dataset.name
?I know I have loaded that checkpoint several times a few months ago without any problems. I have, however, switched machines and maybe not copied everything exactly.
Thanks a lot for any hint!
The text was updated successfully, but these errors were encountered: