-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question #18
Comments
Hello, Thank you for your interest in our work. We apologize for the issue you've encountered, which we have not come across in our previous experiments. We recommend that you first verify the consistency of your environment configuration version with the README file. Due to our busy work schedule and the considerable time since we last engaged with this code, we anticipate revisiting the experiment over the weekend to assist you in troubleshooting the problem. We will provide you with a response at that time. We appreciate your understanding and patience in this matter. Xiang Chen |
hello ,Xiang Chen:
Thanks for your reply, I re-checked my environment configuration and it is exactly the same as the README file. I do not know exactly what the problem is, because my graduation thesis and this project related, so more anxious, hope to get your reply as soon as possible. Thank you very much!
…------------------ 原始邮件 ------------------
发件人: "zjunlp/HVPNeT" ***@***.***>;
发送时间: 2024年4月17日(星期三) 中午12:14
***@***.***>;
***@***.******@***.***>;
主题: Re: [zjunlp/HVPNeT] question (Issue #18)
Hello,
Thank you for your interest in our work. We apologize for the issue you've encountered, which we have not come across in our previous experiments. We recommend that you first verify the consistency of your environment configuration version with the README file.
Due to our busy work schedule and the considerable time since we last engaged with this code, we anticipate revisiting the experiment over the weekend to assist you in troubleshooting the problem. We will provide you with a response at that time.
We appreciate your understanding and patience in this matter.
Xiang Chen
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi, Did you predict using the model you trained yourself? How did the model perform during training? In the RE task, 0 means that the two entities are not related, and predicting 0 is normal because there are many unrelated instances in the dataset. |
You need first to extract the noun phrases from the text using the NLTK parser, Spacy, or TextBlob. Then you can utilize the visual grounding toolkit to detect objects. More details can be seen in its repository. In addition, you need to record the correspondence between images and objects for subsequent reading. |
Hello, I did the training and testing exactly as README did, but it didn't matter what I predicted. The tensor output was also Nan. According to the debugging, it is Bert. In PY, "Prompt = [] for name, layer in self.resnet.named () : if name = = 'FC' or name = = 'avgpool' : continue x = Layer (x) # (BSZ, 256,56,56)" causes X to all be 0. Do not know how to change to normal training and testing, request guidance. Here are the predictions I printed out after my test. The two white lines above are the correct answers, and below are the predictions. You can see that they are all zeros, corresponding to the dictionary“No relationship between entities.”.
![f3bc339e4986f7d42f19f3a150764a2](https://private-user-images.githubusercontent.com/98309908/322837040-71b150f3-f586-44fc-a235-a159a56e18b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MjgwODUsIm5iZiI6MTcyMDcyNzc4NSwicGF0aCI6Ii85ODMwOTkwOC8zMjI4MzcwNDAtNzFiMTUwZjMtZjU4Ni00NGZjLWEyMzUtYTE1OWE1NmUxOGI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzExVDE5NTYyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1ZWM5MzM2ZTgwODBmODRkOGE5NzU4Y2JmOGViNjJhYTVjNjEyN2M4YjJjMjNlOTY1ODIyYTc5ZWFjNzVmMWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.zyy_N3VImUUpyTeypt-UUvry6lWRSv1Pm7AJsi9-VW4)
The text was updated successfully, but these errors were encountered: