conda create -n deepvec python=3.7
pip install -r requirements.txtPlease place the SVHN training set and test set under ./data/ and ./RNNModels/svhn_demo/data/.
DeepVec depends on NLTK data, please following the guidance to download dependency data when code raise error. We provide a pipeline that does all the preliminary preparation
bash prepare.shTo reproduce the experiment reaults, please run the scripts commands in ./scripts.
bash RQ1_run.shThe results will be saved in ./exp_results/rq1 .
bash RQ2_run.shThe results will be saved in ./exp_results/rq2 .
If you need to evaluate the inclusiveness on the original test set and the augmented test set independently, execute the following code:
bash RQ2_seperate.shbash RQ3_run.shThe results will be saved in ./exp_results/rq3 .
Run the following code to get the accuracy of the retrained model:
bash RQ4_run.shIf you need to retrain with all candidate sets to get the benchmark value, execute the following code
bash RQ4_100_run.shThe results will be saved in ./exp_results/rq4 .
bash RQ5_run.shThe results will be saved in ./exp_results/rq5 .
bash ablation.shThe results will be saved in ./exp_results/ablation .
bash Sensitive.shThe results will be saved in ./exp_results/sensitive .