Skip to content

How to load a real world dataset? #3

@dugu9sword

Description

@dugu9sword

Hi,

I have downloaded the EMPIAR 10049 data following this link: https://github.com/zhonge/cryodrgn_empiar

But there are some questions:

  • Error occurs when loading the provided .star file, how can I resolve it?
  • How to load the ctf.pkl?
Traceback (most recent call last):
  File "/root/cryoAI/src/reconstruct/main.py", line 273, in <module>
    retval, status_message = main()
  File "/root/cryoAI/src/reconstruct/main.py", line 260, in main
    train(config)
  File "/root/cryoAI/src/reconstruct/train.py", line 20, in experiment
    dataset = StarfileDataLoader(config)
  File "/root/cryoAI/src/dataio.py", line 48, in __init__
    self.true_sidelen = self.df['optics']['rlnImageSize'][0]
  File "/root/miniconda3/envs/cryoai/lib/python3.7/site-packages/pandas/core/frame.py", line 3458, in __getitem__
    indexer = self.columns.get_loc(key)
  File "/root/miniconda3/envs/cryoai/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3363, in get_loc
    raise KeyError(key) from err
KeyError: 'optics'

Error: Training failed.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions