Windows solved for Miniproject 1 (DQN)

Windows solved for Miniproject 1 (DQN)

by Ariane Delrocq -
Number of replies: 0

Dear Miniproject 1 students,

It is now possible to run the miniproject simulations under Windows; here is how to proceed:

In the file epidemic_env/epidemic.py, lines 115-116 are:

tau = 10*(self.map.nodes[e[0]]['pop'] *

          self.map.nodes[e[1]]['pop'])/self.total_pop**2
Replace these lines by the following:
tau = 10*(self.map.nodes[e[0]]['pop'] / self.total_pop *
self.map.nodes[e[1]]['pop'] / self.total_pop)
Now the epidemic dynamics should be correct (you should see on the graphs that the epidemic spreads to other cities).
Reach out to us of you still have problems with Windows after making this modification.

Best,
Your TAs.