State-to-Distribution (STD) Model

Related tags

Deep LearningSTD
Overview

State-to-Distribution (STD) Model

In this repository we provide exemplary code on how to construct and evaluate a state-to-distribution (STD) model for a reactive atom-diatom collision system.

Requirements

  • python 3.7
  • TensorFlow 2.4
  • SciKit-learn 0.20

Setting up the environment

We recommend to use Miniconda for the creation of a virtual environment.

Once in miniconda, you can create a virtual enviroment called StD from the .yml file with the following command

conda env create --file StD.yml

On the same file, there is a version of the required packages. Additionally, a .txt file is included, if this is used the necessary command for the creation of the environment is:

conda create --file StD.txt 

To activate the virtual environment use the command:

conda activate StD

You are ready to run the code.

Predict product state distributions

For specific initial conditions

To predict product state distributions for fixed nitial conditions from the test set (77 data sets). Go to the evaluation_InitialCondition folder.

Don't remove (external_plotting directory).

python3 evaluate.py 

The evaluate.py file predicts product state distributions for all initial conditions within the test set and compares them with reference data obtained from quasi-classical trajectory similations (QCT).

Edit the code evaluation.py in the folder evaluation_InitialCondition to specify whether accuracy measures should be calculated based on comparison of the NN predictions and QCT data solely at the grid points where the NN places its predictions (flag "NN") or at all points where QCT data is available (flag "QCT") based on linear interpolation. Then run the code to obtain a file containing the desired accuracy measures, as well as a PDF with the corresponding plots. The evaluations are compared with available QCT data located in QCT_Data/Initial_Condition_Data.

For thermal reactant state dsitributions

To predict product state distributions from thermal reactant state distributions go to the evaluation_Temperature folder.

Edit the code evaluation.py in the folder evaluation_Temperature, to specify which of the four studied cases

  • Ttrans=Trot=Tvib (indices_set1.txt)
  • Ttrans != Tvib =Trot (indices_set2.txt)
  • Ttrans=Tvib != Trot (indices_set3.txt)
  • Ttrans != Tvib != Trot (indices_set4.txt)

you want to analyse.

Then run the code with the following command to obtain a file containing the desired accuracy measures, as well as a PDF with the corresponding plots for three example temperatures.

Don't remove (external_plotting directory).

python3 evaluate.py

The evaluations are compared with the available QCT data in QCT_Data/Temp_Data.

The complete list of temperatures and can be read from the file tinput.dat in data_preprocessing/TEMP/tinput.dat .

Cite as:

Julian Arnold, Debasish Koner, Juan Carlos San Vicente, Narendra Singh, Raymond J. Bemish, and Markus Meuwly,

!*Complete name of paper or do you want to cite the repository? Also, add an email or responsable*
Owner
[email protected]
Repository for free and open-source code developed by people from Markus Meuwly's group at university of Basel, Switzerland
<a href=[email protected]">
πŸ”Ž Monitor deep learning model training and hardware usage from your mobile phone πŸ“±

Monitor deep learning model training and hardware usage from mobile. πŸ”₯ Features Monitor running experiments from mobile phone (or laptop) Monitor har

labml.ai 1.2k Dec 25, 2022
use machine learning to recognize gesture on raspberrypi

Raspberrypi_Gesture-Recognition use machine learning to recognize gesture on raspberrypi θͺͺ明 εˆ©η”¨ tensorflow lite θ¨“η·΄ζ‰‹ιƒ¨θΎ¨θ­˜ζ¨‘εž‹ εˆ†θΎ¨ "ε‰ͺεˆ€"、"石頭"、"εΈƒ" 之手勒 ε†ε°‡θ¨“η·΄ζ¨‘εž‹εŒ―ε…₯

1 Dec 10, 2021
A baseline code for VSPW

A baseline code for VSPW Preparation Download VSPW dataset The VSPW dataset with extracted frames and masks is available here.

28 Aug 22, 2022
NVIDIA container runtime

nvidia-container-runtime A modified version of runc adding a custom pre-start hook to all containers. If environment variable NVIDIA_VISIBLE_DEVICES i

NVIDIA Corporation 938 Jan 06, 2023
Assessing the Influence of Models on the Performance of Reinforcement Learning Algorithms applied on Continuous Control Tasks

Assessing the Influence of Models on the Performance of Reinforcement Learning Algorithms applied on Continuous Control Tasks This is the master thesi

Giacomo Arcieri 1 Mar 21, 2022
A object detecting neural network powered by the yolo architecture and leveraging the PyTorch framework and associated libraries.

Yolo-Powered-Detector A object detecting neural network powered by the yolo architecture and leveraging the PyTorch framework and associated libraries

Luke Wilson 1 Dec 03, 2021
CVPR 2021: "Generating Diverse Structure for Image Inpainting With Hierarchical VQ-VAE"

Diverse Structure Inpainting ArXiv | Papar | Supplementary Material | BibTex This repository is for the CVPR 2021 paper, "Generating Diverse Structure

152 Nov 04, 2022
Readings for "A Unified View of Relational Deep Learning for Polypharmacy Side Effect, Combination Therapy, and Drug-Drug Interaction Prediction."

Polypharmacy - DDI - Synergy Survey The Survey Paper This repository accompanies our survey paper A Unified View of Relational Deep Learning for Polyp

AstraZeneca 79 Jan 05, 2023
Customer-Transaction-Analysis - This analysis is based on a synthesised transaction dataset containing 3 months worth of transactions for 100 hypothetical customers.

Customer-Transaction-Analysis - This analysis is based on a synthesised transaction dataset containing 3 months worth of transactions for 100 hypothetical customers. It contains purchases, recurring

Ayodeji Yekeen 1 Jan 01, 2022
A semismooth Newton method for elliptic PDE-constrained optimization

sNewton4PDEOpt The Python module implements a semismooth Newton method for solving finite-element discretizations of the strongly convex, linear ellip

2 Dec 08, 2022
Scenic: A Jax Library for Computer Vision and Beyond

Scenic Scenic is a codebase with a focus on research around attention-based models for computer vision. Scenic has been successfully used to develop c

Google Research 1.6k Dec 27, 2022
StarGAN v2 - Official PyTorch Implementation (CVPR 2020)

StarGAN v2 - Official PyTorch Implementation StarGAN v2: Diverse Image Synthesis for Multiple Domains Yunjey Choi*, Youngjung Uh*, Jaejun Yoo*, Jung-W

Clova AI Research 3.1k Jan 09, 2023
Original Implementation of Prompt Tuning from Lester, et al, 2021

Prompt Tuning This is the code to reproduce the experiments from the EMNLP 2021 paper "The Power of Scale for Parameter-Efficient Prompt Tuning" (Lest

Google Research 282 Dec 28, 2022
(to be released) [NeurIPS'21] Transformers Generalize DeepSets and Can be Extended to Graphs and Hypergraphs

Higher-Order Transformers Kim J, Oh S, Hong S, Transformers Generalize DeepSets and Can be Extended to Graphs and Hypergraphs, NeurIPS 2021. [arxiv] W

Jinwoo Kim 44 Dec 28, 2022
Official pytorch implementation of the paper: "SinGAN: Learning a Generative Model from a Single Natural Image"

SinGAN Project | Arxiv | CVF | Supplementary materials | Talk (ICCV`19) Official pytorch implementation of the paper: "SinGAN: Learning a Generative M

Tamar Rott Shaham 3.2k Dec 25, 2022
Class-Attentive Diffusion Network for Semi-Supervised Classification [AAAI'21] (official implementation)

Class-Attentive Diffusion Network for Semi-Supervised Classification Official Implementation of AAAI 2021 paper Class-Attentive Diffusion Network for

Jongin Lim 7 Sep 20, 2022
The official implementation of paper "Finding the Task-Optimal Low-Bit Sub-Distribution in Deep Neural Networks" (IJCV under review).

DGMS This is the code of the paper "Finding the Task-Optimal Low-Bit Sub-Distribution in Deep Neural Networks". Installation Our code works with Pytho

Runpei Dong 3 Aug 28, 2022
Official implementation of the ICCV 2021 paper "Conditional DETR for Fast Training Convergence".

The DETR approach applies the transformer encoder and decoder architecture to object detection and achieves promising performance. In this paper, we handle the critical issue, slow training convergen

281 Dec 30, 2022
Dense Unsupervised Learning for Video Segmentation (NeurIPS*2021)

Dense Unsupervised Learning for Video Segmentation This repository contains the official implementation of our paper: Dense Unsupervised Learning for

Visual Inference Lab @TU Darmstadt 173 Dec 26, 2022
Source code for paper "Deep Diffusion Models for Robust Channel Estimation", TBA.

diffusion-channels Source code for paper "Deep Diffusion Models for Robust Channel Estimation". Generic flow: Use 'matlab/main.mat' to generate traini

The University of Texas Computational Sensing and Imaging Lab 15 Dec 22, 2022