-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I'm encountering an error when trying to build a model using the provided build_model function. The error indicates that the timeseries_input_dim key is missing from the args configuration. This happens when I set time= True in the config file. I am pretraining using the Amazon Beauty dataset. Below is the error traceback:
File "/content/drive/Shareddrives/lanistr/lanistr/lanistr/utils/model_utils.py", line 150, in build_model
feat_dim=args.timeseries_input_dim,
File "/usr/local/lib/python3.10/dist-packages/omegaconf/dictconfig.py", line 355, in getattr
self._format_and_raise(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/usr/local/lib/python3.10/dist-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/usr/local/lib/python3.10/dist-packages/omegaconf/dictconfig.py", line 351, in getattr
return self._get_impl(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/basecontainer.py", line 73, in _get_child
child = self._get_node(
File "/usr/local/lib/python3.10/dist-packages/omegaconf/dictconfig.py", line 480, in _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key timeseries_input_dim
full_key: timeseries_input_dim