登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
12月28日,「开源中国源创会年终盛典」珠海站再次回归!点击免费报名参会
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
AI-人工智能
&
计算机视觉/人脸识别
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
69
Star
725
Fork
272
PaddlePaddle
/
PaddleDetection
代码
Issues
47
Pull Requests
4
Wiki
统计
流水线
服务
Gitee Pages
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
更新失败,请稍后重试!
Issues
/
详情
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
swin改ppyoloe:Variable dtype not match, Variable [ auto_16_ ] need tensor with dtype paddle.int64 but load tensor with dtype paddle.float32
待办的
#I8UY6J
赵勇彪
创建于
2024-01-10 10:04
### 问题确认 Search before asking - [x] 我已经查询[历史issue](https://github.com/PaddlePaddle/PaddleDetection/issues),没有发现相似的bug。I have searched the [issues](https://github.com/PaddlePaddle/PaddleDetection/issues) and found no similar bug report. ### Bug组件 Bug Component Training、Validation ### Bug描述 Describe the Bug <class 'dict'> Traceback (most recent call last): File "tools/train.py", line 172, in <module> main() File "tools/train.py", line 168, in main run(FLAGS, cfg) File "tools/train.py", line 132, in run trainer.train(FLAGS.eval) File "/home/aistudio/work/PaddleDetection/ppdet/engine/trainer.py", line 537, in train self.model.set_dict(self.ema.apply()) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/framework.py", line 486, in wrapper return func(*args, **kwargs) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 1496, in set_state_dict param.set_value(state) File "<decorator-gen-132>", line 2, in set_value File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/wrapped_decorator.py", line 25, in __impl__ return wrapped_func(*args, **kwargs) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/framework.py", line 434, in __impl__ return func(*args, **kwargs) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/varbase_patch_methods.py", line 188, in set_value self.name, self.dtype, dtype) AssertionError: Variable dtype not match, Variable [ auto_16_ ] need tensor with dtype paddle.int64 but load tensor with dtype paddle.float32 ### 复现环境 Environment paddlepaddle:2.5.2 paddledetection:release/2.6 python:3.10.10 cuda:11.3 cudnn:8.4 ### Bug描述确认 Bug description confirmation - [x] 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced. ### 是否愿意提交PR? Are you willing to submit a PR? - [x] 我愿意提交PR!I'd like to help by submitting a PR!
### 问题确认 Search before asking - [x] 我已经查询[历史issue](https://github.com/PaddlePaddle/PaddleDetection/issues),没有发现相似的bug。I have searched the [issues](https://github.com/PaddlePaddle/PaddleDetection/issues) and found no similar bug report. ### Bug组件 Bug Component Training、Validation ### Bug描述 Describe the Bug <class 'dict'> Traceback (most recent call last): File "tools/train.py", line 172, in <module> main() File "tools/train.py", line 168, in main run(FLAGS, cfg) File "tools/train.py", line 132, in run trainer.train(FLAGS.eval) File "/home/aistudio/work/PaddleDetection/ppdet/engine/trainer.py", line 537, in train self.model.set_dict(self.ema.apply()) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/framework.py", line 486, in wrapper return func(*args, **kwargs) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/layers.py", line 1496, in set_state_dict param.set_value(state) File "<decorator-gen-132>", line 2, in set_value File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/wrapped_decorator.py", line 25, in __impl__ return wrapped_func(*args, **kwargs) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/framework.py", line 434, in __impl__ return func(*args, **kwargs) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dygraph/varbase_patch_methods.py", line 188, in set_value self.name, self.dtype, dtype) AssertionError: Variable dtype not match, Variable [ auto_16_ ] need tensor with dtype paddle.int64 but load tensor with dtype paddle.float32 ### 复现环境 Environment paddlepaddle:2.5.2 paddledetection:release/2.6 python:3.10.10 cuda:11.3 cudnn:8.4 ### Bug描述确认 Bug description confirmation - [x] 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced. ### 是否愿意提交PR? Are you willing to submit a PR? - [x] 我愿意提交PR!I'd like to help by submitting a PR!
评论 (
0
)
赵勇彪
创建了
任务
赵勇彪
添加了
bug
标签
展开全部操作日志
折叠全部操作日志
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
bug
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (45)
标签 (42)
release/2.8
develop
release/2.7.1
release/2.7
revert-9145-czy-det
release/2.6.1
revert-8967-use_shape_memory_for_dino_dataloader
release_2_7_npu
release_2_6_1_npu
revert-8915-fix_paddle_shape
jzhang533-patch-1
release/2.6
release/2.5
owl-vit
onnx_trt
revert-6901-fix_vit_faster_hang_L
niu_fair_mort_prof
release/2.4
release/2.3
release/0.5
release/2.2
revert-4317-multi-scale-test
release/2.1
release/2.0
yzl19940819-patch-2
yzl19940819-patch-1
cherry_update_2.0.1
release/2.0-rc
release/0.4
master
release/2.0-beta
revert-2109-fix_dy_ssd_mbv1
dygraph
liuhuiCNN-patch-1
update_yolov3_config
refactor_dygraph_yolo
htc_v2
update_ppyolo_tiny
release/0.3
add_kitti_proto
qingqing01-patch-1
release/0.2
add_some_lr_scheduler
add_lr_scheduler
release/0.1
v2.8.0
v2.7.0
v2.6.0
v2.5.0
2.5.0
v2.4.0
v2.3.0
v2.2.0
v2.1.0
v2.0.0
v2.0.0-rc0
v0.1.0
v1.5.1
lite-v0.1
v1.5.0
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.1
v1.2.0
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v1.0.0-rc0
v0.15.0
v0.15.0-rc0
v0.14.0
v0.13.0
v0.12.0
v0.11.1a2
v0.11.1a1
v0.11.0
v0.10.0
v0.10.0rc4
v0.10.0rc
v0.9.0
v0.9.0a0
V0.8.0b1
V0.8.0b0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
Python
1
https://gitee.com/paddlepaddle/PaddleDetection.git
git@gitee.com:paddlepaddle/PaddleDetection.git
paddlepaddle
PaddleDetection
PaddleDetection
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册