File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/torch/optim/adamw.py", line 29, in init
if not 0.0 <= lr:
TypeError: '<=' not supported between instances of 'float' and 'str'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/work/yanghan/projects/table_rec/unitable/src/main.py", line 183, in
main(config)
File "/work/yanghan/projects/table_rec/unitable/src/main.py", line 157, in main
trainer.train(
File "/work/yanghan/projects/table_rec/unitable/src/trainer/train_table.py", line 210, in train
self.optimizer = instantiate(train_cfg.optimizer, optim_params)
File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 226, in instantiate
return instantiate_node(
File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 347, in instantiate_node
return _call_target(target, partial, args, kwargs, full_key)
File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 97, in _call_target
raise InstantiationException(msg) from e
hydra.errors.InstantiationException: Error in call to target 'torch.optim.adamw.AdamW':
TypeError("'<=' not supported between instances of 'float' and 'str'")
full_key: trainer.train.optimizer
rank0: Traceback (most recent call last):
rank0: File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 92, in _call_target
rank0: return target(*args, **kwargs)
rank0: File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/torch/optim/adamw.py", line 29, in initrank0: if not 0.0 <= lr:
rank0: The above exception was the direct cause of the following exception:
File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/torch/optim/adamw.py", line 29, in init if not 0.0 <= lr: TypeError: '<=' not supported between instances of 'float' and 'str'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/work/yanghan/projects/table_rec/unitable/src/main.py", line 183, in
main(config)
File "/work/yanghan/projects/table_rec/unitable/src/main.py", line 157, in main
trainer.train(
File "/work/yanghan/projects/table_rec/unitable/src/trainer/train_table.py", line 210, in train
self.optimizer = instantiate(train_cfg.optimizer, optim_params)
File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 226, in instantiate
return instantiate_node(
File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 347, in instantiate_node
return _call_target(target, partial, args, kwargs, full_key)
File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 97, in _call_target
raise InstantiationException(msg) from e
hydra.errors.InstantiationException: Error in call to target 'torch.optim.adamw.AdamW':
TypeError("'<=' not supported between instances of 'float' and 'str'")
full_key: trainer.train.optimizer
rank0: Traceback (most recent call last):
rank0: File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 92, in _call_target
rank0: return target(*args, **kwargs)
rank0: File "/work/yanghan/projects/table_rec/unitable/venv/lib/python3.9/site-packages/torch/optim/adamw.py", line 29, in init
rank0: if not 0.0 <= lr:
rank0: The above exception was the direct cause of the following exception: