Skip to content

training problem probably from model construction #6

@Ting-Bao

Description

@Ting-Bao

When I train the model with your code main_semi.py, after some epochs, I got the error from VAE.fit():

Exception has occurred: InvalidArgumentError
2 root error(s) found.
(0) INVALID_ARGUMENT: slice index 0 of dimension 0 out of bounds.
[[{{node lambda/strided_slice_3}}]]
[[loss/mul/_241]]
(1) INVALID_ARGUMENT: slice index 0 of dimension 0 out of bounds.
[[{{node lambda/strided_slice_3}}]]

It seems that the some dimension of the data or model gets wrong, strangely the training can be excuted for over 100 epochs before raise error. I use:
max_elms = 4
min_elms = 3
max_sites = 8

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