sheng-n / SSCLMD

4 stars 0 forks source link

one_hot_lnc_sim_0.90.6.txt not found. #1

Open myseverus opened 2 weeks ago

myseverus commented 2 weeks ago

Traceback (most recent call last): File "C:/Users/20825/Desktop/bioinformations/SSCLMD-main/code/main.py", line 4, in from data_preprocess import load_data File "C:\Users\20825\Desktop\bioinformations\SSCLMD-main\code\data_preprocess.py", line 168, in load_data(args) File "C:\Users\20825\Desktop\bioinformations\SSCLMD-main\code\data_preprocess.py", line 73, in load_data l_l_t = np.loadtxt("../data/dataset1/one_hot_lncsim" + str(a) + str(b) + ".txt") File "C:\anaconda\envs\mdformer\lib\site-packages\numpy\lib\npyio.py", line 1356, in loadtxt arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter, File "C:\anaconda\envs\mdformer\lib\site-packages\numpy\lib\npyio.py", line 975, in _read fh = np.lib._datasource.open(fname, 'rt', encoding=encoding) File "C:\anaconda\envs\mdformer\lib\site-packages\numpy\lib_datasource.py", line 193, in open return ds.open(path, mode, encoding=encoding, newline=newline) File "C:\anaconda\envs\mdformer\lib\site-packages\numpy\lib_datasource.py", line 533, in open raise FileNotFoundError(f"{path} not found.") FileNotFoundError: ../data/dataset1/one_hot_lnc_sim_0.90.6.txt not found.

Hi! author, I am intersted to your paper , good work! but I run the mian.py ,the code has't a data, one_hot_lnc_sim_0.90.6.txt not found. Can you give me the whole dataset? thank!

sheng-n commented 2 weeks ago

you should download data and run data_preparation.py and calculating_similarity.py to obtain all similarity file

myseverus commented 2 weeks ago

您应该下载数据并运行 data_preparation.py 和 calculating_similarity.py 以获取所有相似性文件

ok! I run the two procedure and generate the one_hot_lnc_sim_0.90.6.txt,but there are still some files missing I run the mian.py respectly,the error appear FileNotFoundError: ../data/dataset1/lnc_att_graph.txt not found.

I hope you can provide all the data. Thank you

sheng-n commented 2 weeks ago

Your file path is wrong, it should be dataset1/lnc_att_graph.txt

sheng-n commented 2 weeks ago

Your file path should be adjusted to the appropriate location

myseverus commented 2 weeks ago

Your file path should be adjusted to the appropriate location nono! the file path is true! the picture are the all data file. image image

myseverus commented 2 weeks ago

Could you please provide me with all the data? Thank you. Here is my email 3485407168@qq.com

sheng-n commented 2 weeks ago

image You also need to run data_preparation.py to obtain lnc/mi/dis_att_graph.txt

myseverus commented 2 weeks ago

image You also need to run data_preparation.py to obtain lnc/mi/dis_att_graph.txt

Thank you for your answer! but i have no these files lncRNA_mer_feature.txt、miRNA_mer_feature.txt、dis_sem_sim.txt

sheng-n commented 2 weeks ago

image (1) Run lncRNA_mer/miRNA_mer() in 'main': in data_preparation.py to obtain lncRNA_mer_feature.txt、miRNA_mer_feature.txt (2) The dis_sem_sim.txt file has been provided in data (dataset1/dataset2)

myseverus commented 2 weeks ago

image (1) Run lncRNA_mer/miRNA_mer() in 'main': in data_preparation.py to obtain lncRNA_mer_feature.txt、miRNA_mer_feature.txt (2) The dis_sem_sim.txt file has been provided in data (dataset1/dataset2)

thank you! I haved solved the problem.