Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • models
  • Issue
  • #583

M
models
  • 项目概览

PaddlePaddle / models
大约 2 年 前同步成功

通知 232
Star 6828
Fork 2962
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 602
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 255
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
M
models
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 602
    • Issue 602
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 255
    • 合并请求 255
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 1月 19, 2018 by saxon_zh@saxon_zhGuest

typo in models/fluid/image_classification/se_resnext.py

Created by: NHZlX

There must be reader instead of datareader.

train_reader = paddle.batch(datareader.train(), batch_size=batch_size)
  1. I use the flowers102 dataset from paddle.dataset.flowers.train() and set the batch size to 1, but something wrong happened. Here is the log:
Traceback (most recent call last):
  File "se_resnext.py", line 157, in <module>
    train(learning_rate=0.1, batch_size=1, num_passes=100)
  File "se_resnext.py", line 127, in train
    exe.run(fluid.default_startup_program())
  File "/home/xingzhaolong/.jumbo/lib/python2.7/site-packages/paddle/v2/fluid/executor.py", line 177, in run
    self.executor.run(program.desc, scope, 0, True, True)
paddle.v2.fluid.core.EnforceNotMet: enforce allocating <= available failed, 10484135494 > 10440015616
 at [/home/xingzhaolong/pr/temp/do_something/paddle/platform/gpu_info.cc:89]
PaddlePaddle Call Stacks: 
0       0x7fab14ccdae6p paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 486
1       0x7fab16b8c2eep paddle::platform::GpuMaxChunkSize() + 766
2       0x7fab14d622ebp paddle::memory::GetGPUBuddyAllocator(int) + 139
3       0x7fab14d624fcp void* paddle::memory::Alloc<paddle::platform::CUDAPlace>(paddle::platform::CUDAPlace, unsigned long) + 28
4       0x7fab14cd4f8ap paddle::framework::Tensor::PlaceholderImpl<paddle::platform::CUDAPlace>::PlaceholderImpl(paddle::platform::CUDAPlace, unsigned long, std::type_index) + 58

Seems something wrong with the memory allocating. I use the Graphics with about 10Gb memory. 2 Tesla K40m On | 0000:83:00.0 Off | 0 | | N/A 37C P0 61W / 235W | 1567MiB / 11439MiB | 0% Default | I meet the same problem when running fluid_mnist.py. Help welcome .

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/models#583
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7