Question about 'num_outputs' in models

Hi, I’m rookie for this competition.

I’ve been struggling to understand the codes and I have a question about “num_outputs” in models part.

What does “num_outputs” mean and where can I edit its value?

Hello @khrho_af

num_outputs comes from the environment’s action space. It is generally is equal to the dimension of the action space.

Please share your pain points so that we can improve the starter kit. Please feel free to post as many questions as you want. I’m sure that the community will be glad to help! :smiley: This will also help others who might be searching for answers to similar questions.


Thank you for your reply.
Actually I tried to build my own custom dqn model, but when I printed ‘num_outputs’ I got ‘256’. So I wondered where this value came from.