Skip to content

AttributeError: 'ScaffoldedSampler' object has no attribute 'cyclic_reses' in RFdiffusion/examples/design_ppi_flexible_peptide_with_secondarystructure_specification.sh #428

Description

@WHUminghui

I run the RFdiffusion/examples/design_ppi_flexible_peptide_with_secondarystructure_specification.sh, and got a error:

USING MODEL CONFIG: self._conf[preprocess][predict_previous] = False
[2025-11-29 14:42:03,088][rfdiffusion.inference.model_runners][INFO] - Loading checkpoint.
[2025-11-29 14:42:03,190][rfdiffusion.diffusion][INFO] - Using cached IGSO3.
Successful diffuser init
[2025-11-29 14:42:03,199][main][INFO] - Making design example_outputs/design_ppi_flexible_peptide_with_secondarystructure/ppi_0
[2025-11-29 14:42:03,202][rfdiffusion.inference.model_runners][INFO] - Using contig: ['70-100/0 B165-178']
With this beta schedule (linear schedule, beta_0 = 0.04, beta_T = 0.28), alpha_bar_T = 0.00013696050154976547
WARNING: you're using a model trained on complexes and hotspot residues, without specifying hotspots. If you're doing monomer diffusion this is fine
Error executing job with overrides: ['inference.output_prefix=example_outputs/design_ppi_flexible_peptide_with_secondarystructure/ppi', 'inference.input_pdb=input_pdbs/tau_peptide.pdb', 'contigmap.contigs=[70-100/0 B165-178]', 'inference.num_designs=10', 'contigmap.inpaint_str=[B165-178]', 'scaffoldguided.scaffoldguided=True', 'contigmap.inpaint_str_helix=[B165-178]']
Traceback (most recent call last):
File "/data1/project/RFdiffusion/examples/../scripts/run_inference.py", line 96, in main
px0, x_t, seq_t, plddt = sampler.sample_step(
File "/data1/project/RFdiffusion/rfdiffusion/inference/model_runners.py", line 701, in sample_step
cyclic_reses=self.cyclic_reses)
AttributeError: 'ScaffoldedSampler' object has no attribute 'cyclic_reses'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions