Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pytorch Deep Learning Backend (#179)
* added pytorch models * Add builder_util.py for Pytorch Clean-up rise mobile v3 for Pytorch * Add initial TrainerAgentPytorch * Add more training loop information * Continue TrainerAgentPytorch * Change "use_mxnet_style" to "framework" Update train_cnn.ipynb Rename trainer_agent.py to trainer_agent_gluon.py * Delete unused RiseV3 params Add model definition to train_cnn.ipynb * Fix PolicyHead definition * Add pytorch metrcis Update pytorch trainer * Fix metric usage Udpate Risev3 Fwd-Inference Update train_cnn.ipynb * Enable wdl and plys_to_end * Add pytorch metrics * Add torch.flatten() fro MSELoss * Use torch.no_grad() for eval and empty_cache() Correct update of self.batch_proc_tmp * Add wdl_acc to metric evaluation * Add torch.flatten() to "value_acc_sign" * Add missing self. * Fix tensorboard logging * Refactoring of trainer_agent_pytorch.py * Add train_util.py Implement get_metrics() * Fix metrics MSE and CrossEntropy * Increase training batch eval to 25 * Update export_to_onnx() * Add missing return * Correct return of train loop Add onnx export to train_cnn.ipynb Add missing self. to val_metrics_best * Integrate Pytorch backend into rl-loop * Remove unused metrics.py Enable pytorch training with soft targets * update rl-loop * Add pytorch export to convert_to_onnx.py * Rename train_confi_template.py into train_config_template.py
- Loading branch information