Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No gradient through the cnn encoder #5

Open
FaisalAhmed0 opened this issue May 24, 2022 · 0 comments
Open

No gradient through the cnn encoder #5

FaisalAhmed0 opened this issue May 24, 2022 · 0 comments

Comments

@FaisalAhmed0
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant