Skip to content

Possible changes in the load_data_from_dir function #6

Description

@gschiavone

Hi Chi-Ruei Li,

thanks for the amazing implementation of the paper!

In the function load_data_from_dir in utils.py you use:
b_tm1 = list(set(l[1:-1]))
using a set you change the order of the sequence, additionally you remove repetition of the items.

I would instead use
b_tm1 = np.asarray(l)[1:-1].tolist()

What are your thoughts on this?

Thanks,

Giuseppina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions