Open ahmad-hl opened 2 years ago
Doing a diff env.py fixed_env.py
you will see something like
33c31
< self.trace_idx = np.random.randint(len(self.all_cooked_time))
---
> self.trace_idx = 0
36a35
> self.mahimahi_start_ptr = 1
39c38
< self.mahimahi_ptr = np.random.randint(1, len(self.cooked_bw))
---
> self.mahimahi_ptr = 1
fixed_env.py
is loading traces sequentially in order. It's just for easier testing and comparing results after training.
What is the difference between
env.py
andfixed_env.py
? I feel they are doing the same job!