How can I get 'single_init.pt' in /nodec_experiments/kuramoto/train.ipynb
Opened this issue · 2 comments
Even in the 'gen_parameters.py' , there is no way to gain 'single_init.pt'
Hi @kaieye. you are correct this seems to be missing from the repo code.
For reproduce-ability, you may find the experimental data on two possible sources if I remember right:
For training and testing on a new batch of samples, which is expected to produce effective neural network controllers as well, you may generate the initial state, namely x0
, yourself. E.g. if the initial states of your dynamics are sampled from a uniform distribution with support x0 = torch.rand([batch_size, n_nodes])
.
In general, please keep in mind that different hyper-parameters may be required to efficiently learn control for different distributions/samples of initial states, so you may be required to change hyper-parameters to get the desired results.
Hope the above help and please let me know if everything worked fine.
I added a series of related codes and some path errors in the code, you can check my pr. If it works, I'm glad to make a contribution