Closed yanan1989 closed 2 years ago
Hi Yanan,
Thanks for reaching out! I have checked, and I am able to upload with the following Python code.
with open(FILE_PATH, 'rb') as f: stsgs = pickle.load(f)
I think the 'rb' argument may be giving you trouble. If this still has issues please let me know!
All the best, Madeleine
On Mon, Sep 19, 2022 at 9:18 AM YANAN WANG @.***> wrote:
Hi, Thanks for your great work. I can not load "AGQA_test_stsgs.pkl" and "AGQA_train_stsgs.pkl" files. Could you please check and share the code to open them?
Thank you very much!
— Reply to this email directly, view it on GitHub https://github.com/madeleinegrunde/AGQA_baselines_code/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDBELY3MQAJ6SE3WXJXCRDV665MVANCNFSM6AAAAAAQPV42C4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi Madeleine,
Thanks for your so quick respnse. I've tried as you said. However, I failed in the memory error even with 500G RAM. I am wondering the file is too large to load. Could you please check if you could load AGQA_test_stsgs.pkl and what is your load time and memory assumptions?
Thank you for your time! Best, Yanan
Hi Yanan,
Hmm it is a large file so the memory may be an issue. For me it takes approximately 5 seconds to load into a jupyter notebook and the Memory says 1.17 GB for that process.
What is the memory error message you receive? If necessary, I can send you scene graphs individually as smaller files as well.
Best, Madeleine
On Mon, Sep 19, 2022 at 11:43 AM YANAN WANG @.***> wrote:
Hi Madeleine,
Thanks for your so quick respnse. I've tried as you said. However, I failed in the memory error even with 500G RAM. I am wondering the file is too large to load. Could you please check if you could load AGQA_test_stsgs.pkl https://drive.google.com/file/d/1CXU0tWpv-1kkkwkNzpU-BwQoAazPR1kR/view?usp=sharing and what is your load time and memory assumptions?
Thank you for your time! Best, Yanan
— Reply to this email directly, view it on GitHub https://github.com/madeleinegrunde/AGQA_baselines_code/issues/10#issuecomment-1250535515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDBEL32NH3RXIUOOXFSSHTV67OM3ANCNFSM6AAAAAAQPV42C4 . You are receiving this because you commented.Message ID: @.***>
Thank you Madeleine!
I think I found the cause of my failure. Beause I've tried to print the loaded scene graph at once. I will study the data format later. Sorry for your time! Thank you so much!
Best, Yanan
Great! The scene graph structure is somewhat complex, so if it is helpful there is a description of the structure at the bottom of the README https://drive.google.com/drive/folders/1OMqA90VXY3BQorKFK5xWLSEEkqX31ui-.
All the best, Madeleine
On Mon, Sep 19, 2022 at 1:13 PM YANAN WANG @.***> wrote:
Closed #10 https://github.com/madeleinegrunde/AGQA_baselines_code/issues/10 as completed.
— Reply to this email directly, view it on GitHub https://github.com/madeleinegrunde/AGQA_baselines_code/issues/10#event-7410484333, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQDBEL23S66QVJYL5LE6FWTV67ZBDANCNFSM6AAAAAAQPV42C4 . You are receiving this because you commented.Message ID: <madeleinegrunde/AGQA_baselines_code/issue/10/issue_event/7410484333@ github.com>
Hi, Thanks for your great work. I can not load "AGQA_test_stsgs.pkl" and "AGQA_train_stsgs.pkl" files. Could you please check and share the code to open them?
Thank you very much!