Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

寻求大佬帮助,这个问题怎么解决 #56

Open
123456ZF opened this issue Mar 1, 2023 · 10 comments
Open

寻求大佬帮助,这个问题怎么解决 #56

123456ZF opened this issue Mar 1, 2023 · 10 comments

Comments

@123456ZF
Copy link

123456ZF commented Mar 1, 2023

Start Tensorboard with "tensorboard --logdir=runs", view at http://localhost:6006/
Model Summary: 225 layers, 6.29987e+07 parameters, 6.29987e+07 gradients
Optimizer groups: 76 .bias, 76 Conv2d.weight, 73 other
Traceback (most recent call last):
File "/home/chenqq/anaconda3/envs/smoke/Spiking_YOLOv3/train.py", line 435, in
train(hyp) # train normally
File "/home/chenqq/anaconda3/envs/smoke/Spiking_YOLOv3/train.py", line 199, in train
single_cls=opt.single_cls)
File "/home/chenqq/anaconda3/envs/smoke/Spiking_YOLOv3/utils/datasets.py", line 278, in init
assert n > 0, 'No images found in %s. See %s' % (path, help_url)
AssertionError: No images found in /home/chenqq/anaconda3/envs/smoke/Spiking_YOLOv3/data/coco2017/train.txt. See https://github.com/ultralytics/yolov3/wiki/Train-Custom-Data

@Bender-long
Copy link

路径问题或者是数据集没处理好。

@Bender-long
Copy link

数据集处理可以看这个视频https://www.bilibili.com/video/BV1t54y1C7ra

1 similar comment
@Bender-long
Copy link

数据集处理可以看这个视频https://www.bilibili.com/video/BV1t54y1C7ra

@123456ZF
Copy link
Author

@Bender-long 请问您跑通了ann-snn吗,我用的gtx3060,环境torch 1.7.1+cu101 python3.7 出现了问题:ValueError:too many values to unpack(expected 2) 报错的位置是snn_evaluate.py,line 97 ( output_snn1,output_snn2=snn(data) 这个位置),请问有什么解决办法吗?

@123456ZF
Copy link
Author

@Bender-long非常感谢您的回答

@sun133233
Copy link

@Bender-long 请问您跑通了ann-snn吗,我用的gtx3060,环境torch 1.7.1+cu101 python3.7 出现了问题:ValueError:too many values to unpack(expected 2) 报错的位置是snn_evaluate.py,line 97 ( output_snn1,output_snn2=snn(data) 这个位置),请问有什么解决办法吗?

遇到了同样的问题,请问解决了吗

@Bender-long
Copy link

Bender-long commented Mar 20, 2024 via email

@123456ZF
Copy link
Author

@sun133233 gtx3060你这太高了,你可以考虑降低显卡版本,然后下载torch1.6可以的,我是1660ti的

@sun133233
Copy link

@Bender-long 解决了真的太感谢了!

@sun133233
Copy link

@sun133233 gtx3060你这太高了,你可以考虑降低显卡版本,然后下载torch1.6可以的,我是1660ti的

@123456ZF 解决了真的太感谢了!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants