You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon running the tutorial code I was consistently hitting a road block with the multiprocessing package this code requires (Running in Windows with Anaconda Install of Python). I had to make the following changes to successfully run the code.
With this i was able to run the data using Covid Tracker unaltered source.
Upon still receiving errors after adjusting this to fit local state data instead of Covid Trackers CSV, I came aross a similar error, after playing around with it for a few days I changed in the generative.py file:
def sample(
self,
cores=1, #changed was 4
chains=2, #changed was 4
But I am concerned because I don't know what these values affect. I assume cores is processing cores used. I am less sure on chains. Can I change this code without changing the model? Or do you have other suggestions to fix the Broken Pipe (Error 32) Errors
The text was updated successfully, but these errors were encountered:
Upon running the tutorial code I was consistently hitting a road block with the multiprocessing package this code requires (Running in Windows with Anaconda Install of Python). I had to make the following changes to successfully run the code.
Error:
__ == "main": #added to code to fix pipe closed error https://discourse.pymc.io/t/multiprocessing-windows-10-brokenpipeerror-errno-32-broken-pipe/2259
gm = GenerativeModel(region, model_data)
File "", line 1
__ == "main": #added to code to fix pipe closed error https://discourse.pymc.io/t/multiprocessing-windows-10-brokenpipeerror-errno-32-broken-pipe/2259
^
SyntaxError: invalid syntax
I changed the following in the tutorial.py:
if name == "main": #added to code to fix pipe closed error https://discourse.pymc.io/t/multiprocessing-windows-10-brokenpipeerror-errno-32-broken-pipe/2259
gm = GenerativeModel(region, model_data)
gm.sample()
With this i was able to run the data using Covid Tracker unaltered source.
Upon still receiving errors after adjusting this to fit local state data instead of Covid Trackers CSV, I came aross a similar error, after playing around with it for a few days I changed in the generative.py file:
But I am concerned because I don't know what these values affect. I assume cores is processing cores used. I am less sure on chains. Can I change this code without changing the model? Or do you have other suggestions to fix the Broken Pipe (Error 32) Errors
The text was updated successfully, but these errors were encountered: