Guild icon
DDraceNetwork
DDraceNetwork / showroom
Teeworlds/DDNet related media only
Between 2024-07-25 00:00 and 2024-07-26 00:00
Avatar
amk
brownbear 2
Avatar
wrong bind xDDD
Avatar
Avatar
Xio
wrong bind xDDD
kek 6
Avatar
Lil Motive Vert 2024-07-25 15:21
omg thats me owo
pepeH 1
Avatar
πŸ₯– 2
thonk 1
poggers 5
Avatar
Avatar
Lil Motive Vert
omg thats me owo
Gay
nono 2
Avatar
feelsbadman 4
kek 4
Avatar
ForgottenCat 2024-07-25 18:27
18:27
A mobile player carried another mobile player through kobra3
18:28
He uses the new client
Avatar
Neural network learning to beat a simple map
justatest 10
πŸ”₯ 2
πŸš€ 2
Avatar
Avatar
CovER
Neural network learning to beat a simple map
this so satisfying to watch, damn
brownbear 1
Avatar
Avatar
CovER
Neural network learning to beat a simple map
LOL let it play some super hard map
πŸ‘ 2
Avatar
Avatar
CovER
Neural network learning to beat a simple map
teach each of them new tricks as generations progress, making them better the older they are, same as real players nod
Avatar
Avatar
Steinchen
LOL let it play some super hard map
Multeasymap kek
Avatar
Just fly1 (they will never learn)
Avatar
Avatar
Steinchen
Just fly1 (they will never learn)
Idk if they can learn how to fly, but i'll try to tune the model to beat the real maps
Avatar
Avatar
CovER
Idk if they can learn how to fly, but i'll try to tune the model to beat the real maps
Weapons would also be really interesting :D
πŸ‘ 1
Avatar
Avatar
CovER
Neural network learning to beat a simple map
Is this just a visualisation? I hope so. You can compute physics hundreds of times faster than realtime.
Avatar
Avatar
Teero
Is this just a visualisation? I hope so. You can compute physics hundreds of times faster than realtime.
Yes, it's just a visualisation
Avatar
Nice πŸ‘ is the src available or closed?
Avatar
Avatar
Teero
Nice πŸ‘ is the src available or closed?
Closed, i think i will open it after some time
πŸ‘ 1
Avatar
Avatar
CovER
Neural network learning to beat a simple map
Ρ…Π°Ρ€ΡƒΠ½ΠΈΠΊ 2024-07-25 19:22
omg, how is that works
Avatar
Avatar
Teero
Is this just a visualisation? I hope so. You can compute physics hundreds of times faster than realtime.
It learns at speed of 5760 ticks per second
Avatar
Hmm that's kind of slow no? I can get up to 3-4mil
Avatar
If i remove learning and bots would run randomly speed would be 170000 TPS (edited)
Avatar
Avatar
Teero
Hmm that's kind of slow no? I can get up to 3-4mil
On which hardware you get 3-4 mil? Or how you would do that?
Avatar
I'm using an optimized version with multithreading that's prob why.
πŸ‘ 1
19:27
dw
Avatar
Avatar
CovER
Neural network learning to beat a simple map
Jupstar βœͺ 2024-07-25 19:29
@Mr.Gh0s7
Avatar
Avatar
CovER
Neural network learning to beat a simple map
are you using python gym enviorment?
Avatar
Avatar
Tater
are you using python gym enviorment?
No, i'm using libtorch and the environment is DDNet) (edited)
Avatar
btw it will train faster if you replace all the air in the map with spawn tiles
Avatar
Avatar
Tater
btw it will train faster if you replace all the air in the map with spawn tiles
Good idea, thanks
Avatar
Avatar
CovER
No, i'm using libtorch and the environment is DDNet) (edited)
so you wrote all the code in c++?
Avatar
Avatar
Tater
so you wrote all the code in c++?
Yes
Avatar
woah nice
Avatar
Avatar
CovER
Good idea, thanks
you may also want to apply random velocity when they spawn, but it's optional
Avatar
Avatar
Tater
you may also want to apply random velocity when they spawn, but it's optional
I spawn them a little bit randomly
19:51
I change the x coordinate a bit
Avatar
yeah but if you just have the spawn tiles at the start then they can't learn the ending of the map until they reach it
Avatar
Avatar
Tater
yeah but if you just have the spawn tiles at the start then they can't learn the ending of the map until they reach it
Yeah, you're right
19:52
I will try to spawn them not only at the beginning
19:52
That's a really good idea i think
Avatar
how long did you train it for that video?
Avatar
6 hours
19:53
I think it should do better after 6 hours
Avatar
But i dont use max of my CPU and GPU
19:53
I change hyperparameters to find the best to learn
Avatar
which learning algorithm are you using?
Avatar
I run 4 instances of learning at the moment
Avatar
Avatar
Tater
which learning algorithm are you using?
PPO
Avatar
Avatar
CovER
I run 4 instances of learning at the moment
4*64 tees?
Avatar
Avatar
Tater
4*64 tees?
Yes with different hyperparameters. They run independently
Avatar
hyper paramaters for what, PPO?
19:54
NN size?
Avatar
Avatar
Tater
hyper paramaters for what, PPO?
Yes like epochs, mini batch size, learning rate and etc.
Avatar
ah ok
19:55
I think you should still get better results
19:56
what do they receive for world data?
Avatar
Avatar
Tater
NN size?
4363 inputs 1024 units 512 units 1613 outputs
Avatar
lol what?
Avatar
Avatar
CovER
4363 inputs 1024 units 512 units 1613 outputs
Layers
Avatar
1613 outputs?
Avatar
Angles
Avatar
that's too many
Avatar
Yeah i know
Avatar
also you don't need a seperate output for each angle
19:57
you can let it control it's angle with 2 outputs
Avatar
Avatar
Tater
you can let it control it's angle with 2 outputs
Oh
Avatar
direction = vec2(sin(x1),cos(x2))
Avatar
Omg i'm stupid
19:58
I'll try that too (edited)
Avatar
4363 inputs is also too many lol
Avatar
I give him the blocks 33*33 grid around him
19:59
I guess it's an option
19:59
I never tried that
Avatar
and multiply it by 4 because there is air, hookable, unhookable, and dead tile (edited)
Avatar
we were using raycasts from 16 angles
20:00
times 2 for hookable and freeze
20:00
so 32 inputs
Avatar
Avatar
CovER
and multiply it by 4 because there is air, hookable, unhookable, and dead tile (edited)
isn't air and empty the same?
Avatar
Yeah, i forgot something
20:01
Dead tile at the end
Avatar
we had a pathfinding direction input to tell it where to go
πŸ‘ 1
Avatar
Maybe relocate this convo to #somewhere else
kek 2
Exported 95 message(s)
Timezone: UTC+0