Comments (6)
Hi,
The run.sh
file here https://github.com/glample/Arnold/blob/master/run.sh will contain the running commands to visualize the agents, and these commands also contain the training parameters. The parameters we used that are not specified in the commands are the default ones in the code.
We did not use curriculum learning or anything like this, although it might help a bit.
from arnold.
Hi,
Thanks for your quick reply. I will try to reproduce this from scratch.
By the way, how long does it take for the model to reach the performance of the released ones?
from arnold.
On a P100 it should take a couple of days.
from arnold.
I used the following command to train a model on track_1.
python3 arnold.py --exp_name track_1 --main_dump_path $PWD/dumped \
--frame_skip 3 --action_combinations "attack+move_lr;turn_lr;move_fb" \
--network_type "dqn_rnn" --recurrence "lstm" --n_rec_layers 1 --hist_size 4 --remember 1 \
--labels_mapping "" --game_features "target,enemy" --bucket_size "[10, 1]" --dropout 0.5 \
--speed "on" --crouch "off" --map_ids_test 1 --manual_control 1 \
--scenario "deathmatch" --wad "deathmatch_rockets" --gpu_id 0
The training process runs up to 10119600 iterations while the log shows that the best performance model is best-120000.pth, achieving a frag score of 62. I also note that the variance of the frags score is quite large between different iterations. Is that normal?
from arnold.
What is the K/D ratio? The number of frags isn't necessarily very relevant because a bot can get quite a good number of frags by shooting randomly. Did you visualize the agent to have a look at how it behaves?
Regarding the variance between different iterations, this is normal yes. Variance should decrease if you increase the evaluation time, but the number of frags usually oscillates quite a lot (as opposed to the K/D which is usually more stable).
from arnold.
I used the following command to train a model on track_1.
python3 arnold.py --exp_name track_1 --main_dump_path $PWD/dumped \ --frame_skip 3 --action_combinations "attack+move_lr;turn_lr;move_fb" \ --network_type "dqn_rnn" --recurrence "lstm" --n_rec_layers 1 --hist_size 4 --remember 1 \ --labels_mapping "" --game_features "target,enemy" --bucket_size "[10, 1]" --dropout 0.5 \ --speed "on" --crouch "off" --map_ids_test 1 --manual_control 1 \ --scenario "deathmatch" --wad "deathmatch_rockets" --gpu_id 0The training process runs up to 10119600 iterations while the log shows that the best performance model is best-120000.pth, achieving a frag score of 62. I also note that the variance of the frags score is quite large between different iterations. Is that normal?
Hello flyers. Did you reproduce the Pretrain model? I don't know if it is caused by my parameter setting. After three days of training, the track1 result is not very high, K/D ratio less than 1 @flyers
from arnold.
Related Issues (13)
- Different dimensions between model and checkpoint HOT 1
- Question about batch size
- Error While training
- FileNotFoundError: HOT 6
- Could not initialize SDL video: HOT 1
- training in deathmatch HOT 4
- You made this only with PyTorch? OMG! HOT 1
- Not support PyTorch 0.4.0 HOT 1
- No such file or directory, confusing concatenation? HOT 3
- How to combine LSTM and experience replay HOT 2
- AssertionError HOT 5
- probelms in comparing code to article "Playing FPS Games with Deep Reinforcement Learning" HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arnold.