-
Notifications
You must be signed in to change notification settings - Fork 43
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
json file format #2
Comments
Actually you can use whatever format you want and modify corresponding part of the code. |
I follow your answers but I did not creat .json file. Can you show us step by step in order to creat .json file? Thank you Wuziyi616. Please help us, I only difficult this step. |
The json file is used for data loading so it is not necessary to have one. You can refer to #7 for more details. The simplest way to replace the json file is directly write the path to your training data/label in the code and load them. |
Dear Ziyi Wu,
Thank you, I will follow your instructions.
…On Wed, Nov 11, 2020 at 10:00 PM Ziyi Wu ***@***.***> wrote:
The json file is used for data loading so it is not necessary to have one.
You can refer to #7 <#7> for more
details. The simplest way to replace the json file is directly write the
path to your training data/label in the code and load them.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI36ISTI3SGEIHTOQ36QNBTSPNFVLANCNFSM4GM5DNEQ>
.
--
Phan Le Trung
Tel: + 82 010 - 2956 - 8668
E-mail: *trungphan@skku.edu <trungphan@skku.edu>*
|
@tphankr Hi. Just change the key "train_and_test" to "training". This will solve the problem I think. |
Thank you @Wuziyi616 for your response quickly. I followed you. The code passed the old error. Now, I faced : ValueError: signal number 32 out of range. I checked also my environment; it is correct with your environment ( pytorch 0.4.1, ...). Please help me. Thank you @Wuziyi616, I will try to follow you in order to run the code well. Thank you very much. |
It seems that this problem is related to the dataloader here. I googled it and there seem to be two solutions. First, you can try setting the num_workers to smaller values like 8 or 16, but I am afraid this will make the training process very slow. Another solution is changing the Python version, you can refer to this for more details. Hope this will help you! |
Thank you @Wuziyi616, I will follow your comments and fix them. I will notify you when I do successfully. Thank you very much. |
Can you provide an example with the format required for the json file?
The text was updated successfully, but these errors were encountered: