Skip to main content

A package for chemprobe

Project description

chemprobe

installation

Requires python<=3.11

pip install chemprobe

download data

bash download_data.sh

preprocess

python preprocess.py \
    --data_path ../data

train

python train.py \
    --name TEST \
    --exp film \
    --fold 0 \
    --n_blocks 4 \
    --data_path ../data/preprocessed \
    --batch_size 16384 \
    --gpus 0,1,2,3 \
    --num_workers 4 \
    --lr 1e-3

permuted label model

python train.py \
--study_path /scratch/wconnell/danger/chemprobe/optuna/exp=film/fold=0/ \
--data_path ../data/preprocessed \
--name perm-fold=0 \
--exp film \
--fold 0 \
--max_epochs 5 \
--batch_size 16384 \
--gpus 3, \
--permute_labels

optimize

python optimize.py \
    --study_path /srv/danger/scratch/wconnell/chemprobe/optuna/ \
    --data_path ../data/preprocessed \
    --exp film \
    --fold 0 \
    --n_trials 20 \
    --prune \
    --batch_size 16384 \
    --gpus 1,

predict

python predict.py \
    --cpds ceranib-2 CAY10618 \
    --data_path ../data/hani \
    --batch_size 128 \
    --gpus 2,

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chemprobe-0.1.3.tar.gz (82.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chemprobe-0.1.3-py3-none-any.whl (86.0 kB view details)

Uploaded Python 3

File details

Details for the file chemprobe-0.1.3.tar.gz.

File metadata

  • Download URL: chemprobe-0.1.3.tar.gz
  • Upload date:
  • Size: 82.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0

File hashes

Hashes for chemprobe-0.1.3.tar.gz
Algorithm Hash digest
SHA256 578bb0048899d166ae54215d14e51e875d8940ab0fe9ece2be662491db5e9065
MD5 eaa13c2122d3f8fe209b5962da2a9b2f
BLAKE2b-256 354377858f23f74a8109b47f641b27be1ad2ef06863f299cc71884b5676ae692

See more details on using hashes here.

File details

Details for the file chemprobe-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: chemprobe-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 86.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0

File hashes

Hashes for chemprobe-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2e32ef25c18d57fd3ac7756dde2b7183e8c8a7020e3baf88ac43ebe4f9b02eea
MD5 1a1929092363505cd3bb6be5c429b1b4
BLAKE2b-256 8aeceaa8db8349538fb5995d80c311fe7aa750f429783ef380078d2fba653161

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page