Skip to content

Unknown error uisng test data-set #1

Open
@kazumaxneo

Description

@kazumaxneo

Hello.

I want to use EquiPNAS to check my TF bing sites (picked up from RNA seq experiment).
After creating the environment with conda, I downloaded the published models and tested the operation.
However, anknown error occurred.
Is there any solution?

git clone https://github.com/Bhattacharya-Lab/EquiPNAS.git
cd EquiPNAS/
mamba env create -f EquiPNAS_env.yml
conda activate EquiPNAS

Python version 3.10.4

$ python EquiPNAS.py --model_state_dict models/EquiPNAS-RNA/E-l12-768.pt --indir Preprocessing/ --outdir output/


  •                        EquiPNAS                                          *
    
  •       Improved protein-nucleic binding site prediction                   *
    
  • using pretrained protein language model and equivariant deep graph learning *
  •     For comments, please email to dbhattacharya@vt.edu                   *
    

Residie-level predictions for each target is being saved at output//

Traceback (most recent call last):
File "/home/kazu/Documents/EquiPNAS/EquiPNAS.py", line 155, in
main(PARS)
File "/home/kazu/Documents/EquiPNAS/EquiPNAS.py", line 92, in main
model.load_state_dict(torch.load(PARS.model_state_dict, map_location=device))
UnboundLocalError: local variable 'model' referenced before assignment
(EquiPNAS) kazu@kazu:~/Documents/EquiPNAS$

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