lamda-bbo / offline-moo

Official implementation of ICML'24 paper "Offline Multi-Objective Optimization".
8 stars 2 forks source link

Title: PermissionError and Path Issues for rfp task #1

Open yassineCh opened 1 week ago

yassineCh commented 1 week ago

Thank you for this project.

I encountered the following PermissionError when running the RFP task: off_moo_bench/problem/lambo/lambo/tasks/proxy_rfp/foldx.py", line 93, in init os.makedirs(self.work_dir, exist_ok=True) PermissionError: [Errno 13] Permission denied: '/home/xk'

The path causing the issue: PosixPath('/home/xk/trx/Offline-MOO/m2bo_bench/problem/lambo/data/experiments/test/sour_plank_0/2024-05-22_11-08-56/foldx')

I manually changed it to my home directory and updated m2bo_bench to off_moo_bench, but then faced a missing file. FileNotFoundError: off_moo_bench/problem/lambo/data/experiments/test/sour_plank_0/2024-05-22_11-08-56/foldx/23dd24d87b91449b9ed4386f1506860d/wt_input_Repair_1.pdb'

Please provide guidance on how to configure the project to use the appropriate directories?

trxcc commented 1 week ago

Hi @yassineCh

Thanks for your issue!

After checking our source code, I found bugs in generating /off_moo_bench/problem/lambo/data/experiments/test/proxy_rfp_problem.pkl instance.

Please generate a new problem instance by running

cd off_moo_bench/problem/lambo/
python scripts/black_box_opt.py optimizer=mf_genetic optimizer/algorithm=nsga2 task=proxy_rfp tokenizer=protein

I have checked that the results evaluated by the newly generated instance are the same as that which are evaluated by the instance we provided.

We have fixed these bugs in our repository, and added these fixes to our install.sh and README.md.

If you have any questions, feel free to contact us.

yassineCh commented 1 week ago

Thank you for the fix. The issues are resolved now. Please change

cd m2bo_new 

in install.sh