-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move all notebooks to scripts #55
Conversation
…y script that essentially is used to compute features which will then be used to plot the figures!
Reverted this change!
A lot of these changes appear to be due to running a linter or other pre-commit hooks.
The github action identified that |
@fatwir will work on splitting this PR up. Im going to work on another PR for the missing analysis in this repo The linting config is here - https://github.com/AllenCell/benchmarking_representations/blob/main/.pre-commit-config.yaml |
So all the commits upto |
6ef33d6
to
4523efd
Compare
@ritvikvasan closing this in favor of #58. Please take over that PR |
This PR does a few things
run_embeddings
script to compute embeddingse.g.
python src/br/analysis/run_embeddings.py --save_path "./outputs/" --sdf False --dataset_name "pcna" --batch_size 5 --debug False
run_features
script to compute featurese.g.
python src/br/analysis/run_features.py --save_path "./outputs/" --embeddings_path "./morphology_appropriate_representation_learning/model_embeddings/pcna" --sdf False --dataset_name "pcna"
run_analysis
script to run all analysis.e.g.
python src/br/analysis/run_analysis.py --save_path "./outputs_pcna/" --embeddings_path "./morphology_appropriate_representation_learning/model_embeddings/pcna" --dataset_name "pcna" --run_name "Rotation_invariant_pointcloud_jitter" --sdf False
run_drugdata_analysis
script to run drug data perturbation detection analysispython src/br/analysis/run_drugdata_analysis.py --save_path "./outputs_npm1_perturb/" --embeddings_path "./morphology_appropriate_representation_learning/model_embeddings/npm1_perturb/" --dataset_name "npm1_perturb"
To test these runs, you will need a local copy of the
morphology_appropriate_representation_learning
folder with the preprocessed data. This dataset currently lives here/allen/aics/modeling/ritvik/projects/latest_clones/benchmarking_representations/morphology_appropriate_representation_learning/