dreamer-pytorch icon indicating copy to clipboard operation
dreamer-pytorch copied to clipboard

A small question of implementation

Open TianQi-777 opened this issue 4 years ago • 0 comments

Thank you for your sharing, but I have a small question. Why do you 1) use F.softplus for variance(std_dev) every time and 2) add a constant(min_std_dev). Is it to ensure that the square of variance is positive? If so, why not use Relu? (click here 1, click here 2) Example as follows:

prior_std_devs[t + 1] = F.softplus(_prior_std_dev) + self.min_std_dev

Looking forward to your reply.

TianQi-777 avatar Dec 11 '20 06:12 TianQi-777