Hi I was trying to save model (lunar lander youtube tutorial) but I'm not able to I tried adding agent.save_model() in file main_tf2_dqn_lunar_lander.py but then it gives an error as below :
Weights for model sequential have not yet been created. Weights are created when the Model is first called on inputs or build() is called with an input_shape.
Hi I was trying to save model (lunar lander youtube tutorial) but I'm not able to I tried adding agent.save_model() in file main_tf2_dqn_lunar_lander.py but then it gives an error as below :
Weights for model sequential have not yet been created. Weights are created when the Model is first called on inputs or
build()
is called with aninput_shape
.