Skip to main content

A package for chemprobe

Project description

chemprobe

installation

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.1.tar.gz (81.8 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.1-py3-none-any.whl (86.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chemprobe-0.1.1.tar.gz
  • Upload date:
  • Size: 81.8 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.1.tar.gz
Algorithm Hash digest
SHA256 423dc14e8bbed7f2f8d57ac0825ca1998999755a2e99b73441db3d7b4bd8e804
MD5 627424b07438b34bba479cbe5259edfa
BLAKE2b-256 6078a4dbc4a4f5fd23717fbc28f56a60cc7517c82e37ffe001dbd02e83b771b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chemprobe-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a1bdc22add7e265b9d66f692471030a9f4e2f65f0f20ef507e2626c98b29360
MD5 2c0985519a6b37be70d058ee65c44a72
BLAKE2b-256 76de88f0f8c2bfdc8c6dd734eb0e0d2d84eb914c370b95e2dd519d854156bef3

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