Skip to content

colindeseroux/codingame-weights-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Codingame weights optimizer

The aim of this project is to convert the weights of a NumPy model (.npz) into the most optimised string possible for Codingame.

📦 Installation

pip install -r requirements.txt

▶️ Usage

🧠 Optimizing

Either ensure that you have a model.npz file in the current path, or change the path in the main file.

python optimizer.py

🚀 Run inference

Copy the text in model.txt to the ENCODED tag of inference.py.
Modify the inference code with your model and game loop as you like.

📚 Citation

If you find Codingame-weights-optimizer is useful, please consider giving us a star 🌟 and citing it.

@software{Codingame-weights-optimizer,
    author = {Colin de Seroux},
    month = apr,
    title = {Codingame-weights-optimizer},
    url = {https://github.com/colindeseroux/codingame-weights-optimizer},
    version = {1.0.0},
    year = {2025}
}

📄 License

This project is licensed under the Apache License 2.0.
See the LICENSE file for more details.

About

🧬Optimizing numpy neural network weights for codingame

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages