Hello,
I installed your software as you mentioned on your github page.
After that, I prepared genotypes using :
plink1.9 --bfile QC8 --recodeA --out QC8
Also, I have a text file including ID and phenotypes (without headers) of my training set.
I put addresses of my inputs in main.py and after executing python main.py command and then, I was faced with ValueError:
2706it [00:00, 2961.87it/s]
Traceback (most recent call last):
File "/home/siavash/Downloads/deepGBLUP-main/main.py", line 39, in <module>
train_dataset, test_dataset, num_snp, ymean = load_dataset(raw_path, phen_path, h2, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/siavash/Downloads/deepGBLUP-main/dataset.py", line 69, in load_dataset
train_X = torch.from_numpy(np.array(train_X, dtype=np.float32))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'NA'
Would you please let me know how can I solve this error?
Siavash,
Regards
Hello, I installed your software as you mentioned on your github page. After that, I prepared genotypes using :
plink1.9 --bfile QC8 --recodeA --out QC8
Also, I have a text file including ID and phenotypes (without headers) of my training set. I put addresses of my inputs in main.py and after executingpython main.py
command and then, I was faced with ValueError:Would you please let me know how can I solve this error? Siavash, Regards