Skip to content

Deterministic execution #43

@lnicola

Description

@lnicola

This is probably more of a TerraTorch question, but is it possible to make the execution more deterministic? Looking at large_tile_generation.ipynb, I tried adding:

torch.manual_seed(42)
np.random.seed(42)
torch.backends.cudnn.deterministic = True
torch.backends.cudnn.benchmark = False

but even when running on cpu, the LULC output is very different. I didn't check the raw probabilities or logits, though.

Image

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