metarl-offloading icon indicating copy to clipboard operation
metarl-offloading copied to clipboard

ValueError: not enough values to unpack in meta_evaluator.py

Open fatmehosseini opened this issue 11 months ago • 1 comments

Hi, thanks for sharing this codebase. I’m trying to run meta_evaluator.py but encountered the following error:

Logging to ./meta_evaluate_ppo_log/task_offloading calculate baseline solution====== avg greedy solution: -5.326296975575445 avg greedy solution: 802.4605928660801 avg greedy solution: 808.9166261023114

Traceback (most recent call last): File "meta_evaluator.py", line 117, in finish_time, energy_cost = env.get_all_mec_execute_time() ValueError: not enough values to unpack (expected 2, got 1)

It seems like the get_all_mec_execute_time() function is returning only one value instead of two. I would appreciate any guidance on:

How to fix this issue

What the correct return value of get_all_mec_execute_time() should be

Whether a requirements.txt or environment specification is available (e.g., tested versions of TensorFlow, gym, Python, etc.), as the paper does not list specific library versions

Environment: Python 3.6.10 TensorFlow 1.15 OS: Ubuntu (via WSL)

Thanks again!

fatmehosseini avatar May 28 '25 16:05 fatmehosseini