Trying to run inference script
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- cli, machine-learning
Direzione di ricerca
Start with rf_diffusion/run_inference.py and the config-name and sweep.inference arguments in the reported Singularity command. Then compare config_theoenzyme and the active_site_unindexed_atomic JSON with enzyme_bench_n41.yaml to document which configuration entries are expected and what a successful inference run should produce.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello, I'm learning how to run RFdifussion2 and got a little nit confused:
My goal: design a protein from a theoenzyme that contains 4 residues and one coenzyme (FMN).
For my understanding I need to first specify a ORI atom that specifies the center of mass of my coenzyme. (I did this since i converted a cif file to pdb)
Then I need to know what scripts should I modify. For this I created an own json file (active_site_unindexed_atomic.json) that looks like this:
{
"active_site_unindexed_atomic": "inference.input_pdb=theoenzyme_ladA_with_ORI.pdb inference.ligand=\\'FMN\\' contigmap.contigs=[\\'16,B17-17,45,B63-63,15,B79-79,58,B138-138,172,B311-311,129\\'] inference.contig_as_guidepost=True contigmap.contig_atoms=\"'{\\'B17\\':\\'CB,CG,ND1,CD2,CE1,NE2\\',\\'B63\\':\\'CB,CG,CD1,CD2,CE1,CE2,CZ,OH\\',\\'B79\\':\\'N,CA,C,O\\',\\'B138\\':\\'CB,CG,ND1,CD2,CE1,NE2\\',\\'B311\\':\\'CB,CG,ND1,CD2,CE1,NE2\\'}'\""
}
From a previous error message I notice the program also asks me to specify a yaml file and I used this yaml file that I modified of the benchmark config file:
defaults:
- enzyme_bench_n41
- _self_
in_proc: True
sweep:
retries: 2
command_args: >
--config-name=aa
inference.deterministic=True
inference.ckpt_path=REPO_ROOT/rf_diffusion/model_weights/RFD_173.pt
inference.seed_offset=43
num_per_condition: 1
num_per_job: 1
benchmark_json: config_theoenzyme.json
slurm:
p: gpu-bf
gres: gpu:1
stop_step: sweep
outdir: ${hydra:runtime.cwd}/pipeline_outputs/${now:%Y-%m-%d}_${now:%H-%M-%S}_open_source_demo
as it points out to a enzyme_bench_n41.yaml file, I notice maybe I should delete the - enzyme_bench_n41 part of the yaml file isnt it?
This is the script I'm running (I'm using singularity):
program_dir=/opt/RFdiffusion2
singularity exec --nv --env PYTHONPATH=${program_dir} --env MKL_THREADING_LAYER=GNU --env CUDA_VISIBLE_DEVICES=0 \
-B /opt:/opt ${program_dir}/rf_diffusion/exec/rfdiffusion_sandbox \
python3 /opt/RFdiffusion2/rf_diffusion/run_inference.py \
--config-name=config_theoenzyme \
sweep.inference=active_site_unindexed_atomic \
inference.num_designs=10
Aditionally, I'm naively passing the name of the config file to sweep.inference . I get an error message that there is no struct called inference. So in addition, how can I provide my config file ?
I know this may look that I'm lost in trying to run this but is my first time using this type of program. just looking for some clarity and feedback on what I'm trying to do.
- Lingua principale
- Python
- Stelle
- 447
- Fork
- 70
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di RosettaCommons/RFdiffusion2
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
RosettaCommons/RFdiffusion2#49 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 42/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
RosettaCommons/RFdiffusion2#46 · 2 commenti ·
-
Unexpected true atoms...Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
RosettaCommons/RFdiffusion2#40 · 8 commenti ·
-
Double Ligand EnzymeAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
RosettaCommons/RFdiffusion2#38 · 1 commento ·
Tutte le issue di RosettaCommons/RFdiffusion2
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
lugassawan/swe-workbench#799 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
vllm-project/vllm#61131 ·
I maintainer di solito rispondono entro 1 giorno
-
Non-string form field names raise AttributeError when files are attachedForse già presa @nightcityblade l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kubernetes-client/python#2735 ·
I maintainer di solito rispondono entro 1 giorno
-
desktop help wanted test
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno