You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello im trying to run the project but im getting an Error.
Im using Google Colab as my environment.
I started with running the codes from JITLine_RQ1-RQ3.ipynb Jupiter Notebook file.
So after exceuting openstack_k_of_smote, openstack_best_AUC_of_obj_func = run_experiment('openstack') im getting the following error:
I have fixed the problem. The data files were missing in my data folder. These can be found under https://zenodo.org/record/3965149#.X2VeP5MzY1J. The Zenodo link in the readme file doesnt redirect to the missing data
Hello im trying to run the project but im getting an Error.
Im using Google Colab as my environment.
I started with running the codes from JITLine_RQ1-RQ3.ipynb Jupiter Notebook file.
So after exceuting
openstack_k_of_smote, openstack_best_AUC_of_obj_func = run_experiment('openstack')
im getting the following error:FileNotFoundError Traceback (most recent call last)
in <cell line: 1>()
----> 1 openstack_k_of_smote, openstack_best_AUC_of_obj_func = run_experiment('openstack')
2 frames
in run_experiment(cur_proj)
3 model_path = './final_model/'
4
----> 5 train_code, train_commit, train_label = prepare_data(cur_proj, mode='train',
6 remove_python_common_tokens=remove_python_common_tokens)
7 test_code, test_commit, test_label = prepare_data(cur_proj, mode='test',
/content/gdrive/My Drive/my_util.py in prepare_data(cur_proj, mode, use_text, remove_python_common_tokens, data_dir)
165
166 if use_text:
--> 167 all_added_code, all_removed_code, commit_id, dict, label = load_data(cur_proj,mode=mode, use_text=use_text,
168 remove_python_common_tokens=remove_python_common_tokens,
169 data_dir=data_dir)
/content/gdrive/My Drive/my_util.py in load_data(proj, mode, use_text, remove_python_common_tokens, data_dir)
30 def load_data(proj, mode='train',use_text=True,remove_python_common_tokens=False,data_dir='./data/'):
31 if mode == 'train':
---> 32 data = pickle.load(open(data_dir+proj+'_train.pkl','r+b'))
33 elif mode == 'test':
34 data = pickle.load(open(data_dir + proj + '_test.pkl','rb'))
FileNotFoundError: [Errno 2] No such file or directory: './data/openstack_train.pkl
So how do I generate the openstack_train.pkl file? Or did I something wrong.
The text was updated successfully, but these errors were encountered: