-
Notifications
You must be signed in to change notification settings - Fork 20
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
Fixed some bugs (see commit details and implementation for details) #14
base: main
Are you sure you want to change the base?
Conversation
dataloader.py中get_idx_split函数中用到了未定义的函数rand_train_test_idx,本次提交添加了该函数的实现
因为当命令行参数num_exp>1时,调用repeat_run(args)函数,该函数里多次调用run(args)函数,而run(args)函数里当出现某些命令行参数时会去修改输出路径,原实现会导致输出路径重复拼接而导致输出路径错误,从而导致运行出错。本次提交修改了这个bug
当传入的命令行参数中num_exp>1且含有特定一些参数时(如feature_noise、feature_noise等)会发生输出路径output_dir重复拼接的错误,本次提交修正了这个bug
Thank you so much for bringing up these issues and providing potential solutions to help improve our code quality. I have a few comments.
Please kindly let me know whether you would agree with these comments. |
Use args.seed instead of additional parameters as the current state of the experiment; Fixed a bug in the rand_train_test_idx function in dataload.py; From .gitignore exclude the folder .idea/
|
Thank you for the quick update. I agree that using |
The fix looks good to me. I think this pull request can be merged. @nshah171 |
已更正代码中的一些bug,请审查