Skip to content

No gradient through the cnn encoderΒ #5

@FaisalAhmed0

Description

@FaisalAhmed0

In CIC code the observations are encoded inside torch.no_grad which means that there is no gradient calculation for the CNN, which means that the CNN weights will not be updated during pre-training.

obs = self.aug_and_encode(obs)

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