luozachary/drl-rec

ValueError: cannot reshape array of size 1 into shape (1,12,30)

Opened this issue · 2 comments

I've got this error on "simulator.py", line 20,

init_state = np.array(self.data['state_float'].sample(1).values[0]).reshape((1, 12, 30))
ValueError: cannot reshape array of size 1 into shape (1,12,30)

can you help me?

I've got this error on "simulator.py", line 20,

init_state = np.array(self.data['state_float'].sample(1).values[0]).reshape((1, 12, 30))
ValueError: cannot reshape array of size 1 into shape (1,12,30)

can you help me?

Have you solved this problem? I have met the same problem.

I also encountered this problem, if you have solved it, hope you can provide a solution, thank you