Skip to content

Continuous and Data-Driven Descriptors (CDDD) with REST interfact

Notifications You must be signed in to change notification settings

vaxherra/cddd_rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Info

Continuous and Data-Driven Descriptors (CDDD) docker image serving embedding predictions for provided SMILES. The method implementation is found here. Due to numerous dependency errors, and problems running in a local environment, this image provides self-contained environment to transform a list of SMILES into 512-dimensional embeddings.

Install & serve

Build docker image docker build -t cddd .

Serve in a local environment (by default the fastAPI is exposed on port 80). docker run --rm -p 80:80 cddd

Run predictions

Use the example file provided.

For unknown smiles model returns nans.

Curl

curl -X POST http://localhost:80/predict \
-d @example_batches.json \
-H "Content-Type: application/json"

About

Continuous and Data-Driven Descriptors (CDDD) with REST interfact

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published