Skip to content
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

How to setting the data in order to run the code ( python train.py)? #2

Open
tphankr opened this issue Jul 31, 2021 · 2 comments
Open

Comments

@tphankr
Copy link

tphankr commented Jul 31, 2021

Thank you @boahK.
When I type "python train.py". I faced the error (TypeError: expected str, bytes or os.PathLike object, not NoneType
), as following:
image
I also opened the getDatabase.py and train_option.py but don't know how to setting the data to run the code although I downloaded the dataset (https://drive.google.com/drive/folders/1S7aT_u8YVAcDdR_2Giw2--mGztygH4bd)
image
image

The data was downloaded:
image
image

Thank you @boahK .

@boahK
Copy link
Owner

boahK commented Jul 31, 2021

First of all, thank you for your interest in our paper.

To run the code, please deal with the script file in 'script' folder, not type 'python train.py' in terminal.
You can run the code by typing 'sh ./scripts/Brain_train.sh'.

@tphankr
Copy link
Author

tphankr commented Aug 1, 2021

Thank you for your respone quickly, @boahK.
Allow me ask because I had been facing the out memory out and apply the data:

  1. How many the memory GPU did you use? and now how to change the size ...in order to run the code
    I followed your comment ('sh ./scripts/Brain_train.sh') but I faced aslo : CUDA out of memory.
    image
    I tried to fix durring this morning but I am not slove yet, as below following:

    • My computer: GTX 1080 Ti 11GB GPU
    • I changed the size (line 17, 19, 20) and "--gpu_ids" ( line 22)
      image
  2. Allows me ask, please guide me apply the orthes data
    Assume,I train completely your code, at the time that is only example demonstrat your code run well. Now, I want to apply to OASIS_OAS dataset ( I download here, https://github.com/adalca/medical-datasets/blob/master/neurite-oasis.md) . How to setting the data in order to run the code? Please guide me some first step.
    image

Thank you @boahK. I try to learn hard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants