Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

JSP data name on generator and load are unmatched #2

Closed
LucasBoTang opened this issue Nov 8, 2019 · 2 comments
Closed

JSP data name on generator and load are unmatched #2

LucasBoTang opened this issue Nov 8, 2019 · 2 comments

Comments

@LucasBoTang
Copy link
Contributor

For data generator, there is "jsp_r20"
argParser.add_argument('--res_file', type=str, default='../data/jsp/jsp_r20_short_job.json') argParser.add_argument('--res_train_file', type=str, default='../data/jsp/jsp_r20_train_short_job.json') argParser.add_argument('--res_val_file', type=str, default='../data/jsp/jsp_r20_val_short_job.json') argParser.add_argument('--res_test_file', type=str, default='../data/jsp/jsp_r20_test_short_job.json')

For data loader, there is "jsp_r10"
elif title == 'jsp': data_group.add_argument('--train_dataset', type=str, default='../data/jsp/jsp_r10_train.json') data_group.add_argument('--val_dataset', type=str, default='../data/jsp/jsp_r10_val.json') data_group.add_argument('--test_dataset', type=str, default='../data/jsp/jsp_r10_test.json')

@Jungyhuk
Copy link

Jungyhuk commented Nov 9, 2019

In the sub-string "rX", X means the number of resource types, which should match the value of the command "--num_res". To make things clearer, I updated the default command values in this repo.

@LucasBoTang
Copy link
Contributor Author

Thank you so much!

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

No branches or pull requests

2 participants