How tomer1203/generative_ris_optimization works
Project type and purpose
• From the directory layout and README, this is a research‐oriented Python simulation pipeline for “AI‐Aided Annealed Langevin Dynamics for Rapid Optimization of Programmable Channels.”
• It’s neither a full-stack web app nor a standalone service. Rather, it’s a modular data‐science / ML + physics simulation tool that reads channel data, applies a physical fading model, trains or loads neural networks, runs an optimization loop, logs progress, and produces plots.
File structure
• Top-level directories:
• Code/ – all Python code, subfolders for models, logs, outputs, plots
• Data/ – raw MATLAB / tensor data used by dataset loader
• PhysFad/ – reference physical‐model data files
• README.md
• Key files in Code/:
• config.py + configuration.yaml – global parameters & switches
• main.py – entry point orchestrating the pipeline
• dataset.py – loads Data/ + PhysFad/ files into PyTorch/Tensors
• physfad_optimal_parameters.txt & PhysFadPy.py – encapsulates the physical fading model
• models.py & Code/Models/*.pt – network definitions & pretrained weights
• ChannelMatrixEvaluation.py / rate_model.py – core routines for rate-or capacity-evaluation
• utils.py – shared utilities
• plot_*.py & plots/ – visualization scripts + their outputs
• logs/ – textual run logs
• outputs/ – numeric results (npy, pdf)
• There are no build/deploy scripts; execution is via “python main.py,” guided by configuration.yaml.
README for additional insights
• The README confirms the module breakdown (config, main, physfad, models, dataset, utils, plot_*.py).
• It instructs that all behavior (e.g. choose simulation or training) is controlled by configuration.yaml.