-
I am working on the Stochastic Variational Deep Kernel Learning example on the following link:
I tried to overcome this error by adding the following two lines:
And indeed the error disappeared however, I am getting new error as listed below, Any advice?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I guess this is b/c this is based on an old |
Beta Was this translation helpful? Give feedback.
I guess this is b/c this is based on an old
DenseNet
implementation. Not sure how to solve this specifically but I guess looking at the current code should be a start: https://github.com/pytorch/vision/blob/main/torchvision/models/densenet.py#L213-L215 (usingadaptive_avg_pool2d
and dropping the classifier) is what I'd try...