fangwei123456 / spikingjelly

SpikingJelly is an open-source deep learning framework for Spiking Neural Network (SNN) based on PyTorch.
https://spikingjelly.readthedocs.io
Other
1.35k stars 239 forks source link

common.multiprocessing_env #17

Closed CHonChou closed 3 years ago

CHonChou commented 3 years ago
from common.multiprocessing_env import SubprocVecEnv

ModuleNotFoundError: No module named 'common.multiprocessing_env'

fangwei123456 commented 3 years ago

@lucifer2859 https://github.com/fangwei123456/spikingjelly/blob/6dc0a6acdfb2ea6ea88bbbdf7cb21fcf2d46afb2/spikingjelly/clock_driven/examples/Spiking_A2C.py#L8-L15

CHonChou commented 3 years ago

How should I install this module

lucifer2859 commented 3 years ago

https://github.com/openai/baselines/tree/master/baselines/common/vec_env

How should I install this module

lucifer2859 commented 3 years ago

How should I install this module

And you can see https://github.com/lucifer2859/Policy-Gradients/tree/master/common for more details.

Yanqi-Chen commented 3 years ago

Maybe code with additional dependency should be explicitly showed on the head? 🤔 https://github.com/fangwei123456/spikingjelly/blob/6dc0a6acdfb2ea6ea88bbbdf7cb21fcf2d46afb2/spikingjelly/clock_driven/examples/Spiking_A2C.py#L1-L15

lucifer2859 commented 3 years ago

Maybe code with additional dependency should be explicitly showed on the head? 🤔 https://github.com/fangwei123456/spikingjelly/blob/6dc0a6acdfb2ea6ea88bbbdf7cb21fcf2d46afb2/spikingjelly/clock_driven/examples/Spiking_A2C.py#L1-L15

The common package is added into the new repo, and it can be find at https://github.com/fangwei123456/spikingjelly/tree/master/spikingjelly/clock_driven/examples/common