Skip to content
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

Default config.json Issue #103

Open
MXXXZ opened this issue Mar 20, 2024 · 0 comments
Open

Default config.json Issue #103

MXXXZ opened this issue Mar 20, 2024 · 0 comments

Comments

@MXXXZ
Copy link

MXXXZ commented Mar 20, 2024

Hi!

Due to network environment issues, I am unable to directly download the model weights through the installation script. Therefore, I used the download script mentioned in Issue #39 for direct URL downloading. (That is: ["original"]="https://zenodo.org/record/7733060/files/original.zip", ["original_no_seq"]="https://zenodo.org/record/7733060/files/original_no_seq.zip", ["small_gpu"]="https://zenodo.org/record/7733060/files/small_gpu.zip")

When running Build, with using --model-bundle-path path_to_download_weights/original for execution, I encountered an error:

AttributeError: 'Args' object has no attribute 'box_size'

After attempting to add '"box_size": 64, 'to the original/config.json and running it again, I encountered another error:

AttributeError: 'Args' object has no attribute 'voxel_size'

As a result, I'm wondering if the issues are due to the default config.json in the weights I downloaded not being updated, or because I need to specify additional parameters myself?

There is my original config.json in the original package:

{
  "standardize_mrc_args":
    {
      "target_voxel_size": 1.5,
      "crop_z": 0,
      "bfactor_to_apply": 0,
      "auto_mask": false
    },
  "ca_infer_args":
    {
      "model_checkpoint": "chkpt.torch",
      "bfactor": 0,
      "batch_size": 4,
      "stride": 16,
      "dont_mask_input": true,
      "threshold": 0.05,
      "save_real_coordinates": false,
      "save_cryo_em_grid": false,
      "do_nucleotides": false,
      "save_backbone_trace": false,
      "save_ca_grid": false,
      "crop": 6
    },
  "gnn_infer_args":
    {
      "num_rounds": 3,
      "crop_length": 200,
      "repeat_per_residue": 3,
      "esm_model": "esm1b_t33_650M_UR50S",
      "aggressive_pruning": false,
      "seq_attention_batch_size": 200
    }
}

Thank you for your help!

Mency

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant