-
Notifications
You must be signed in to change notification settings - Fork 1
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
lack of files #2
Comments
Hello and thank you for your issue. In fact I have graduated for half a year and have not engaged in related industries. So it might take me some time to review the code I wrote before. But I think this project can be run on Windows 10 except some paths need to be modified. For example in Linux environment the file paths are separated by '/' while in Win10 they are separated by '\'. I'll try to re-update the project recently and we can keep in touch.
------------------ Original ------------------
From: ***@***.***>;
Date: Wed, Mar 16, 2022 09:15 AM
To: ***@***.***>;
Cc: ***@***.***>;
Subject: [zyj0021200/simpleImageCaptionZoo] lack of files (Issue #2)
I found there is no COCO14-train.p in my ./cider/data files.
There's problem to import resource in Main.py.
Could you share the pretrained models to run the Main.py in sample mode.
By the way, how to get the visualization pics like yours?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
下载视频
|
Ok,I'm looking forward to hearing from you soon!
…------------------ 原始邮件 ------------------
发件人: "zyj0021200/simpleImageCaptionZoo" ***@***.***>;
发送时间: 2022年3月17日(星期四) 下午3:15
***@***.***>;
***@***.******@***.***>;
主题: Re: [zyj0021200/simpleImageCaptionZoo] lack of files (Issue #2)
Hello and thank you for your issue. In fact I have graduated for half a year and have not engaged in related industries. So it might take me some time to review the code I wrote before. But I think this project can be run on Windows 10 except some paths need to be modified. For example in Linux environment the file paths are separated by '/' while in Win10 they are separated by '\'. I'll try to re-update the project recently and we can keep in touch.
 
 
------------------ Original ------------------
From: ***@***.***>;
Date:  Wed, Mar 16, 2022 09:15 AM
To: ***@***.***>;
Cc: ***@***.***>;
Subject:  [zyj0021200/simpleImageCaptionZoo] lack of files (Issue #2)
 
I found there is no COCO14-train.p in my ./cider/data files.
There's problem to import resource in Main.py.
Could you share the pretrained models to run the Main.py in sample mode.
By the way, how to get the visualization pics like yours?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
下载视频
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hello and I have recently tested and updated my project. And there are a few things to take note. |
Thank you very much for your reply, it helps me a lot.
METEOR score doesn't work in win10 environment, it seems to be due to the jar package problem.
Finally, thank you from the bottom of my heart!
…------------------ 原始邮件 ------------------
发件人: "zyj0021200/simpleImageCaptionZoo" ***@***.***>;
发送时间: 2022年3月27日(星期天) 晚上9:16
***@***.***>;
***@***.******@***.***>;
主题: Re: [zyj0021200/simpleImageCaptionZoo] lack of files (Issue #2)
Hello and I have recently tested and updated my project. And there are a few things to take note.
1.I don't recommend running this project in Windows environment not because of the path problems I mentioned before but the file encoding and decoding thing. I encountered with the decoding error when performing METEOR calculation like 'UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 57: illegal multibyte sequence', this might be solvable for you but again I don't really have enough time to figure out; The "resource" package imported in Main.py is not needed in windows. So you could just ignored this. Also the code 'csv.field_size_limit(sys.maxsize)' in 'PreProcess/Generate_coco14_bottom_up_features_data.py' should be modified by exchanging a suitable large integer for 'sys.maxsize';
2.The COCO14-train.p is created by running 'PreProcess/CIDEr_idf_preproccess.py'. This file is used to perform SCST training for quick calculation of cider scores;
3.The visualization pictures is generated by the visualize_att and visualize_att_bboxes functions in 'Utils.py' , simply putting attention-weight tensors over the tensors of different image regions and using matplotlib to draw the pics;
Finally since I have graduated and not engaged in relative industries, I don't have enough computing resources right now to re-run the experiments but I think the performances are reproducible. Maybe later I will try to give out the pretrained models. But I also give a file 'train_NIC_COCO14.sh' to train NIC model and you can follow the parameter settings.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I found there is no COCO14-train.p in my ./cider/data files.
There's problem to import resource in Main.py.
Could you share the pretrained models to run the Main.py in sample mode.
By the way, how to get the visualization pics like yours?
The text was updated successfully, but these errors were encountered: