blacksnail789521 / TimeDRL

Official repository for TimeDRL: Disentangled Representation Learning for Multivariate Time-Series, accepted at ICDE 2024.
MIT License
11 stars 2 forks source link

[BUG]:AssertionError: Duplicated keys found: {'get_i'} #1

Closed ipc-robot closed 3 months ago

ipc-robot commented 3 months ago

When I run: python main.py I got : Traceback (most recent call last): File "main.py", line 603, in return_metrics = trainable(tunable_params, fixed_params, args) File "main.py", line 445, in trainable args = update_args(args, fixed_params, tunable_params) File "main.py", line 366, in update_args assert not duplicated_keys, f"Duplicated keys found: {duplicated_keys}" AssertionError: Duplicated keys found: {'get_i'}

ipc-robot commented 3 months ago

fixed_params = { ...... "get_i": get_i, ...... } tunable_params = { ...... "get_i": "cls", ...... } I believe the issue may lie in this area. Are this two "get_i" necessary?

blacksnail789521 commented 3 months ago

Fixed with b5d07b0.