Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add pytorch demo script#6

Open
wanzysky wants to merge 1 commit into
aamini:mainaamini/evidential-deep-learning:mainfrom
wanzysky:mainwanzysky/evidential-deep-learning:mainCopy head branch name to clipboard
Open

Add pytorch demo script#6
wanzysky wants to merge 1 commit into
aamini:mainaamini/evidential-deep-learning:mainfrom
wanzysky:mainwanzysky/evidential-deep-learning:mainCopy head branch name to clipboard

Conversation

@wanzysky

Copy link
Copy Markdown

500 iters:

image

1500 iters:

image

@oiao

oiao commented Dec 29, 2022

Copy link
Copy Markdown

Thanks a lot for the implementation. I have noticed a strange behavior of Pytorch:
When concatenating the return value of LinearNormalGamma at

return mu, self.evidence(logv), self.evidence(logalpha) + 1, self.evidence(logbeta)

such that:

ret = mu, self.evidence(logv), self.evidence(logalpha) + 1, self.evidence(logbeta)
return torch.cat(ret, dim=-1)

the training does not seem to progress and a constant value is predicted. Is there any reasonable explanation for this?

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

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.