Skip to content

Error when converting csv to image #30

@Rabab53

Description

@Rabab53

Hello great developers,

I have built my own localization table and I am trying to start the training step. It produces the following error:
Could you please help in this issue?

Found 5 samples in ./training_workdir_exp1/train.
generating images...
Traceback (most recent call last):
File "run_csv.py", line 30, in
sources = create_data_sources('TransformedCSVImages', opt)
File "/home/omairyrm/ANNA-PALM/smlm_datasets.py", line 47, in create_data_sources
return TransformedCSVImages(opt)
File "/home/omairyrm/ANNA-PALM/smlm_datasets.py", line 322, in init
target_size=(2560, 2560))
File "/home/omairyrm/ANNA-PALM/localization_utils.py", line 395, in generate_image_pairs_from_csv
(aa, bb, p, inf_range, outf_range) = source_train[i]
File "/home/omairyrm/ANNA-PALM/AnetLib/data/folder_dataset.py", line 94, in getitem
ret = self.transform(ret.copy())
File "/home/omairyrm/ANNA-PALM/localization_utils.py", line 373, in transform_train
tableout = fSamplerOutTest(table, index=repeat)
File "/home/omairyrm/ANNA-PALM/localization_utils.py", line 195, in call
assert self.frame_limit[0]<self.frame_limit[1]
AssertionError
AssertionError

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