Closed shohanulka closed 3 years ago
Hi, a few thing I want to clarify:
Hi, a few thing I want to clarify:
- Just to double check, did you drag and drop the trained models into your agents? Does that imported successfully without any errors (the field "model" showed the model name you assigned and no warnings or errors showed up)?
- Did you modify anything between running training and inference? Like timescale or any other configurations?
- By saying "agent just stuck", is your agent doing something and just not acting the same way as in training, or is it not working at all?
mlagents-learn race_config --run-id="test1" --time-scale=3
in unity timescale was 1 default There's no barracuda inference issue that we're aware of now. So my guess is one possible cause is that if your game has physics that's dependent on time scale you might see issues running training and inference at different time scale. Have you tried running training and inference using the same time scale?
There's no barracuda inference issue that we're aware of now. So my guess is one possible cause is that if your game has physics that's dependent on time scale you might see issues running training and inference at different time scale. Have you tried running training and inference using the same time scale?
you have point, let me try that I will run both on same time-scale. but why the model size is so small, after so many steps ? is it fine ?
Sure, please update if you're able to get it running or if we need to dig in further.
Also model size doesn't change with steps, it's affected by your network configurations like hidden_units, num_layers, memory_size, etc. Not sure how small it is but if you can import it in the editor successfully then it should be fine.
thank you for your help, I have solved the issue by running them same time-scale 💯 @dongruoping.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug I have training vehicle agent to follow a simple track. I am using behavioural cloning when I train the model I see it works fine but after that when I export it in Unity the agent just stuck. On the other hand the model size is very small only 95kb
here is my trainer config
Environment (please complete the following information):