8000 Add pytorch demo script by wanzysky · Pull Request #6 · aamini/evidential-deep-learning · GitHub
[go: up one dir, main page]

Skip to content

Add pytorch demo script - #6

Open
wanzysky wants to merge 1 commit into
aamini:mainfrom
wanzysky:main
Open

wanzysky wants to merge 1 commit into
aamini:mainfrom
wanzysky:main

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

0