Skip to content

make loss.backward() work#84

Open
allenhung1025 wants to merge 1 commit into
iesl:mainfrom
allenhung1025:main
Open

make loss.backward() work#84
allenhung1025 wants to merge 1 commit into
iesl:mainfrom
allenhung1025:main

Conversation

@allenhung1025

Copy link
Copy Markdown

I was trying to use gumbel_intersection in my training code. However, when calling the loss.backward(), there would be an error message. Imgur which shows that there should not be an in-place operation with tunable parameter. After I made some changes in the intersection function, the code worked out.

@dhruvdcoder

Copy link
Copy Markdown
Collaborator

Thanks for creating the PR. I am not entirely sure if this issue is coming up due to the box-embeddings library—we have been able to backprop successfully while using gumbel intersection. Would you be able to create a small test case that isolates this issue this issue?

@dhruvdcoder dhruvdcoder added the bug Something isn't working label Apr 23, 2022
@dhruvdcoder
dhruvdcoder requested a review from ssdasgupta April 23, 2022 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants