Skip to content

explore_latent_space possible index error for halfset 2 #14

@metteroes

Description

@metteroes

Hi! I think I may have found a bug, at least it is for my purposes.

During the deformation, the dataset is split up into 3: A tenth is validation set and the remainder is then split into two equally sized sets, the two half sets - correct?

However, in explore_latent_space line 102-111, it seems that the indices for the second half set are found by subtracting the indices of the first half set from the full dataset. That means that the second half set now includes the validation set:

image

list(set(range(len(dataset))) - set(list(inds_half1))))

When I print out the size of the latent space, I do also get a larger array for half set 2 than half set 1. For the beta amylase dataset for example, I have 2127 rows/images for half set 1, and 2599 for half set 2.

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