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
While running discrete_demo.py , Getting following error
File "\.conda\envs\tf_env\lib\multiprocessing\pool.py", line 771, in get
raise self._value
AttributeError: 'NoneType' object has no attribute 'network'
The text was updated successfully, but these errors were encountered:
shaktisd
changed the title
Getting error
Getting error 'NoneType' object has no attribute 'network' while running discrete_demo.py ,
Apr 4, 2021
I think this is raised by multithreading environment. Follow MULTITHREADING.md and prepare all the prerequisites.
If you are using windows system and find it difficult to install gslrandom or something else. You can change the code to make it run in single thread. Here is the needed params.
weight_hypers = {"parallel_resampling":False}
then pass the params into DiscreteTimeNetworkHawkesModelSpikeAndSlab while constructing.
like this test_model = DiscreteTimeNetworkHawkesModelSpikeAndSlab(K=K, dt_max=dt_max, network_hypers=network_hypers,weight_hypers=weight_hypers)
While running discrete_demo.py , Getting following error
The text was updated successfully, but these errors were encountered: