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

为甚对CPU占用很高?GPU占用仅仅50%左右? #32

Open
mosign opened this issue Apr 26, 2019 · 4 comments
Open

为甚对CPU占用很高?GPU占用仅仅50%左右? #32

mosign opened this issue Apr 26, 2019 · 4 comments

Comments

@mosign
Copy link

mosign commented Apr 26, 2019

用来训练自己的数据,启动后发现CPU占用很高,GPU占用仅仅50%左右

@QQ2737499951
Copy link

GPU占用仅仅50%左右

请问一下,gpu在哪里设置?运行显示 gpu=None,实际我gpu是有的,cuda10都安装训练没问题。方便加QQ沟通一下吗? QQ2737499951,谢谢

================
args= Namespace(cfg_file='CornerNet_Saccade', dist_backend='nccl', dist_url=None, distributed=False, gpu=None, initialize=False, rank=0, start_iter=0, workers=2, world_size=-1)
train tart_iter 0 distributed False world_size -1 initialize False gpu None
Process 0: 创建模型 building model...
total parameters: 116969339
启动预取数据 start prefetching data...

@mosign
Copy link
Author

mosign commented May 5, 2019

在配置文件中进行设置,batch_size 等于chunk_size 的和 如果有举例:1块GPU batch_szie=12 chunk_size=[12];2块GPU batch_size =24 chunk_size=[12,12]

@QQ2737499951
Copy link

gpu训练现在没问题了,训练的时候gpu占用率会有显示,我的意思是:这里显示gpu=none,不知道是什么意思?

@BCWang93
Copy link

在配置文件中进行设置,batch_size 等于chunk_size 的和 如果有举例:1块GPU batch_szie=12 chunk_size=[12];2块GPU batch_size =24 chunk_size=[12,12]

你好,我也存在这个问题,我用单个gpu训练,GPU内存只占用了一半儿。。。

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