DongChen06 / MARL_CAVs

MARL for Autonomous Vehicles
240 stars 45 forks source link

A question about curriculum learning #35

Closed gyccccccccc closed 7 months ago

gyccccccccc commented 7 months ago
屏幕截图 2024-02-22 153042

Hi! Sorry to bother you again, I want to know whether curriculum learning in the paper means to train the model three times, in 3 different traffic modes? If i'm right, Could you please tell me how can I continue training the pre-trained model in another modes(eg. Medium Mode or Hard)? how can I switch it to Medium mode? I've trained the model in the easy one, but I don't know how to do next.

gyccccccccc commented 7 months ago

thanks, i’ve figure it out!

xbv001 commented 7 months ago

Hi! May I know your code runtime environment? I ran the code on the Windows system, but there were some issues. Excuse me, are you also running code under Python 3.6?

gyccccccccc commented 7 months ago

Hi! May I know your code runtime environment? I ran the code on the Windows system, but there were some issues. Excuse me, are you also running code under Python 3.6?

Hi,I also ran the code on Windows, but I modified part of the code eg " one_hot = np.zeros((len(index), dim)) one_hot[np.arange(len(index)), index] = 1. " to " ss = str(index) one_hot = np.zeros((len(ss), dim)) one_hot[np.arange(len(ss)), index] = 1. "

gyccccccccc commented 7 months ago

and I ran the code under Python 3.6