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.4.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.4-py3-none-any.whl (86.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chemprobe-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 4b5cff2db6bee8a68cc5a383bc13d70fb2a6c89202d3fba358d508d2e6c16229
MD5 97781e105670caa9ad8560e9b9d81327
BLAKE2b-256 2762e651e9242505c0f6f005f0c4b525a2fee143825d877a3cff79d6867b2fbc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chemprobe-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4f7a91b4889823ce3c4792fdeb3c34087b8c585ade80aa718d7bb25b42287ed6
MD5 bc5603fd7a5c523b213ccfbbb4ea2b9c
BLAKE2b-256 57a45289812ba6d103b3a36696ed43513d17e5596f1fcfeba03dbcac82e240ef

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