SG-D3QN icon indicating copy to clipboard operation
SG-D3QN copied to clipboard

D3QN

Open liwenshulws opened this issue 1 year ago • 6 comments

Hello, I would like to ask where your code uses D3QN. I was confused when I saw TD3 in the train.py code, and would like to ask you what happened?Additionally, I am also confused about the use of dueling dqn in the paper.

liwenshulws avatar Nov 06 '23 02:11 liwenshulws

@liwenshulws I have the same question. And have you run successfully?

luoxi50 avatar Nov 17 '23 10:11 luoxi50

2024-04-17 22:08:47, INFO: Skip_connection: True 2024-04-17 22:08:47, INFO: Number of layers: 1 2024-04-17 22:08:47, INFO: Similarity_func: concatenation 2024-04-17 22:08:47, INFO: Layerwise_graph: False 2024-04-17 22:08:47, INFO: Skip_connection: True 2024-04-17 22:08:47, INFO: Number of layers: 1 2024-04-17 22:08:47, INFO: TD3 action_dim is : 2 Traceback (most recent call last): File "F:\SG-D3QN\crowd_nav\test.py", line 205, in main(sys_args) File "F:\SG-D3QN\crowd_nav\test.py", line 73, in main policy.load_model(model_weights) File "F:\SG-D3QN\crowd_nav\policy\TD3_rl.py", line 139, in load_model checkpoint = torch.load(file) File "D:\Anaconda\lib\site-packages\torch\serialization.py", line 594, in load with _open_file_like(f, 'rb') as opened_file: File "D:\Anaconda\lib\site-packages\torch\serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "D:\Anaconda\lib\site-packages\torch\serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: 'data/output1/best_val.pth'

baixiaoer123 avatar Apr 17 '24 14:04 baixiaoer123

2024-04-17 22:11:01, INFO: Using device: cpu 2024-04-17 22:11:01, INFO: Loaded RL weights with best VAL Traceback (most recent call last): File "F:\SG-D3QN\crowd_nav\test.py", line 205, in main(sys_args) File "F:\SG-D3QN\crowd_nav\test.py", line 51, in main spec.loader.exec_module(config) File "", line 846, in exec_module File "", line 982, in get_code File "", line 1039, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'data/tsrl10rot/1/config.py'

baixiaoer123 avatar Apr 17 '24 14:04 baixiaoer123

Maybe there is a mistake in the repository. TD3.py is useless in this repository, which is built for our another work. Besides, dueling architecture is in the DQN file.

zhouzhiqian avatar Apr 18 '24 01:04 zhouzhiqian

2024-04-17 22:11:01, INFO: Using device: cpu 2024-04-17 22:11:01, INFO: Loaded RL weights with best VAL Traceback (most recent call last): File "F:\SG-D3QN\crowd_nav\test.py", line 205, in main(sys_args) File "F:\SG-D3QN\crowd_nav\test.py", line 51, in main spec.loader.exec_module(config) File "", line 846, in exec_module File "", line 982, in get_code File "", line 1039, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'data/tsrl10rot/1/config.py'

The solution is to set your configuration properly. The path tsrl10rot, which is created in my computer, does not exist in your computer.

zhouzhiqian avatar Apr 18 '24 01:04 zhouzhiqian

@liwenshulws I have the same question. And have you run successfully?

Any other question?

zhouzhiqian avatar Apr 18 '24 01:04 zhouzhiqian