Comments (9)
how can i solve it? thx!
from spikformer.
我按照requirement安装的库,Python 3.7.16
from spikformer.
pip install cupy
from spikformer.
pip install cupy==10.3.1 ,pip install cupy都是报一样的错误。
from spikformer.
What kind of error did you get?
from spikformer.
ssh://[email protected]:23735/opt/conda/envs/py37/bin/python -u /home/u21b961009/jupyterlab/spikformer-main/imagenet/train.py
INFO🚋Training with a single process on 1 GPUs.
Training with a single process on 1 GPUs.
Traceback (most recent call last):
File "/home/u21b961009/jupyterlab/spikformer-main/imagenet/train.py", line 804, in
main()
File "/home/u21b961009/jupyterlab/spikformer-main/imagenet/train.py", line 353, in main
drop_block_rate=None,
File "/home/u21b961009/.local/lib/python3.7/site-packages/timm/models/factory.py", line 74, in create_model
model = create_fn(pretrained=pretrained, **kwargs)
File "/home/u21b961009/jupyterlab/spikformer-main/imagenet/model.py", line 254, in spikformer
**kwargs
File "/home/u21b961009/jupyterlab/spikformer-main/imagenet/model.py", line 195, in init
embed_dims=embed_dims)
File "/home/u21b961009/jupyterlab/spikformer-main/imagenet/model.py", line 125, in init
self.proj_lif = MultiStepLIFNode(tau=2.0, detach_reset=True, backend='cupy')
File "/home/u21b961009/.local/lib/python3.7/site-packages/spikingjelly/clock_driven/neuron.py", line 823, in init
check_backend(backend)
File "/home/u21b961009/.local/lib/python3.7/site-packages/spikingjelly/clock_driven/neuron.py", line 30, in check_backend
assert cupy is not None, 'CuPy is not installed! You can install it from "https://github.com/cupy/cupy".'
AssertionError: CuPy is not installed! You can install it from "https://github.com/cupy/cupy".
还是这个错误。但是换成torch后端就没问题了。感觉是spikingjelly中的check_backend函数的问题
from spikformer.
Same error.
Fixed it by install the proper version of cupy with the CUDA version.
from spikformer.
您好,我也遇到了这个问题,请问您解决了么
from spikformer.
同样遇到这个问题,请问没有使用cupy后端的方法吗
from spikformer.
Related Issues (20)
- 运行环境问题
- Error of "enumerate(loader) " in line 647 of "imagenet/train.py" HOT 2
- dvs128 code
- 数据处理 HOT 3
- 学习率初始化值问题 HOT 2
- how to get the pretrained weights of the models
- Fail to Reproduce SpikFormer-8-512 on Imagenet HOT 4
- Fail to reproduce the Spikformer-4-256 on CIFAR-10 HOT 2
- Confused about the use of layernormalization in your Imagenet training code.
- Power calculation HOT 2
- 对spikformer V2的疑问 HOT 2
- 对spikformerv2的疑问
- 关于spikformer应用于时间序列的想法
- v2代码什么时候能开源呢
- Pretrained Weight Access
- Connecting Function on CIFAR10-DVS for SpikformerV2
- Energy consumption calculation on CIFAR10 dataset
- Problem about environment HOT 1
- spikformer-main\cifar10\model中模型没有位置嵌入操作
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spikformer.