I did an implementation of the 2D Bin Packing Problem using the Reinforcement Toolbox, where i defined my environment and agent. When I try to train my agent I get the error "Invalid input argument type or size such as observation, reward, isdone or loggedSignals.". I checked the output variables of my step function and it seems, that they have valid values. When i manually give the Actions to my environment, it gives the expected output and proceeds without problem. So I guess there is a problem with the agent (Neural Network)? Attached you can find a .zip file containing all the functions needed. The script is the environment.m.
MATLAB: How to solve “Invalid input argument type or size such as observation, reward, isdone or loggedSignals.” error? (Reinforcement Learning Toolbox)
agentinvalid input argumentMATLABReinforcement Learning Toolboxreinforcement leraning toolbox
Related Question
- Problems using LSTM with PPO Agent – Error: Invalid input argument type or size such as observation, reward, isdone or loggedSignals.
- (I think)getValue function produces “Not enough input arguments”
- Can LoggedSignal in provided Link contain more than just the state
- RF – Create MATLAB Environment using Custom Functions – theResetFunction
- Multi-agent deep reinforcement learning
Best Answer