Skip to content

Model not deterministic/reproducible with all seeds set and os.environ['TF_DETERMINISTIC_OPS'] = '1' #30

@stevenwong951028

Description

@stevenwong951028

in reference of this kaggle notebook i've written this notebook to try transfer learning through multiple datasets.

through multiple soft runs on the notebook, I came to found out that I can't get deterministic/reproducible model out of it.

Weird thing is, with the same virtual-environment, I can get deterministic/reproducible from a plain CNN-MNIST code.

Spent a week on researching and can't find the solution. Any guidance or suggestions are much appreciated.

colab code for reproducing the errors (dataset download and extractions included within)
my virtual environment

p.s. link duplication from issue44414 as I think this issue should be mentioned here

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