seungeunrho / minimalRL

Implementations of basic RL algorithms with minimal lines of codes! (pytorch based)
MIT License
2.84k stars 457 forks source link

TypeError: expected np.ndarray (got tuple) #59

Open InguChoi opened 1 year ago

InguChoi commented 1 year ago

image

My system environment is below

I just copy and paste this minimalRL code in my workspace... I can not execute the example code.

Thank you

super-NOV-a commented 1 year ago

I have met the same problem I solved it by changing the initial structure: after building s = env.reset() add s = s[0]