malware_rl
malware_rl copied to clipboard
Subversion not found. and lightgbm.basic.LightGBMError
Hi Bob
Sorry,When I tried to reproduce your results,I encountered the following two problems:
1.When I run the following command:
python download_deps.py --accept --force
I can not download all the samples you mentioned.The problem is as follows:
[*] Attempting to Download ransomwares/ Samples & Place in Temp Directory
Subversion not found. In order to download the sample malware,
Subversion (svn) needs to be installed. This provides a method of
downloading only the target folder rather than the whole repo.
[*] Attempting to Download rogues/ Samples & Place in Temp Directory
Subversion not found. In order to download the sample malware,
Subversion (svn) needs to be installed. This provides a method of
downloading only the target folder rather than the whole repo.
[*] Attempting to Download trojans/ Samples & Place in Temp Directory
Subversion not found. In order to download the sample malware,
Subversion (svn) needs to be installed. This provides a method of
downloading only the target folder rather than the whole repo.
Finally,I got 46 samples after running download_deps.py
.
2.When I tried to run random_agent.py
,another problem arised:
lightgbm.basic.LightGBMError: Could not open /home/lee/126/malware_rl/malware_rl/envs/utils/sorel.model
Do you know why and how to deal with them?
Thanks a lot!
Hi @lm457878340,
The errors you have pasted in suggests that you do not have Subversion on the system you are running the environment on as described in the error message. I'd have a google for how to install on the platform you are on.
In regards to the second error message, have you changed random_agent.py
to run against the SOREL-20M model environment? If so, you need to download the SOREL-20M LightGBM from the S3 bucket and place it into the directory outlined in the here - Details for getting the model can be found here