- Aug 22, 2024
-
-
Florian Schröder authored
Integrated overcooked-ai into cooperative cuisine. See merge request !103
-
Christoph Kowalski authored
Adapted gym env to only del a visualizer if the environment name is in the dictionary, as this is not the case during intialization of the rl env.
-
Christoph Kowalski authored
# Conflicts: # cooperative_cuisine/reinforcement_learning/gym_env.py
-
Christoph Kowalski authored
Included short description on how to use the reinforcement learning and how to convert overcooked-ai layouts.
-
- Aug 21, 2024
-
-
Florian Schröder authored
Switched from using np.round to np.ceil for block size calculation to ensure more accurate grid sizes. Additionally, replaced range with np.arange for consistent step intervals, and ensured rectangle positions use np.round for precise placement.
-
- Aug 20, 2024
-
-
Florian Schröder authored
Replaced grid_size-based scaling with a fixed value of 0.15 for the polygon creation offset. This change ensures consistency in offset scaling regardless of the grid size.
-
Florian Schröder authored
Set the environment's end time based on iteration count for performance benchmarking. Also, increase the number of iterations from 500 to 1,000 for more robust testing results.
-
Florian Schröder authored
Resolve "Faster Drawing" See merge request !104
-
Fabian Heinrich authored
-
Fabian Heinrich authored
# Conflicts: # CHANGELOG.md # cooperative_cuisine/reinforcement_learning/gym_env.py # cooperative_cuisine/validation.py
-
Florian Schröder authored
Updated `gym_env.py` and `drawing.py` to use unique environment names (`env_name`) for caching purposes, leveraging UUIDs for better cache management. Revised render and image fetch methods to incorporate the unique environment identifier, ensuring accurate and efficient cache invalidation and retrieval.
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Florian Schröder authored
Enhanced the 2D image generation by caching backgrounds and optimizing counter placements. Introduced a new visualizer method for direct image sizing and added a benchmark script for drawing speed. Added a utility function for loading configuration files in bulk.
-
Florian Schröder authored
Enhanced visualizer by adding cache flags for background and counters and a reduced background mode for optimization. Adjusted relevant methods across video replay, performance benchmark, gym environment, and GUI code to use the new caching logic.
-
- Aug 19, 2024
-
-
Fabian Heinrich authored
-
Florian Schröder authored
Deleted obsolete drawing_perf_benchmark.py and replaced it with the more versatile performance_benchmark.py. Consolidated individual config file reads into a unified load_config_files function, which is now used across various modules for increased code readability and maintainability.
-
Fabian Heinrich authored
-
Florian Schröder authored
Enhanced `get_state_image` to accept a list of controlled players, defaulting to a single player if not provided. This change ensures that the drawing function correctly interprets the input for controlled players, improving the function's flexibility and usability.
-
Florian Schröder authored
Renamed `grid_size` to `node_size` for clarity and consistency. Removed commented-out code and redundant parameters, and optimized some conditional statements to improve readability.
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Christoph Kowalski authored
Adapted LayoutConverter to not be integrated in gym_env.py but to be called seperately with a command line argument. Additionally, all layouts are now stored in the config/layouts folder and no layout files with a different format are stored within our project.
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
Fabian Heinrich authored
-
- Aug 16, 2024
-
-
Fabian Heinrich authored
-
- Aug 14, 2024
-
-
Christoph Kowalski authored
Changed layout converter path management to be callable outside of the main program with the current folder structure.
-
- Aug 07, 2024
-
-
Christoph Kowalski authored
Transferring the layouts and creating the configs. Additionally, enabling the choice of random or determinstic order generation in the configs.
-
- Jul 31, 2024
-
-
Florian Schröder authored
Resolve "Restructure Reinforcement Learning files" See merge request !98
-
Christoph Kowalski authored
Inference uses the same configs as the training and instantiates the model load function from the configs.
-
Christoph Kowalski authored
-
Christoph Kowalski authored
# Conflicts: # cooperative_cuisine/environment.py
-
- Jul 30, 2024
-
-
Florian Schröder authored
-
Florian Schröder authored
Resolve "Deterministic Order Generation" See merge request !97
-
Florian Schröder authored
-