{"action":"created","issue":{"url":"https://api.github.com/repos/jinze1994/ATRank/issues/5","repository_url":"https://api.github.com/repos/jinze1994/ATRank","labels_url":"https://api.github.com/repos/jinze1994/ATRank/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/jinze1994/ATRank/issues/5/comments","events_url":"https://api.github.com/repos/jinze1994/ATRank/issues/5/events","html_url":"https://github.com/jinze1994/ATRank/issues/5","id":392069998,"node_id":"MDU6SXNzdWUzOTIwNjk5OTg=","number":5,"title":"High cpu usage when running the code","user":{"login":"liyongqi67","id":18048887,"node_id":"MDQ6VXNlcjE4MDQ4ODg3","avatar_url":"https://avatars1.githubusercontent.com/u/18048887?v=4","gravatar_id":"","url":"https://api.github.com/users/liyongqi67","html_url":"https://github.com/liyongqi67","followers_url":"https://api.github.com/users/liyongqi67/followers","following_url":"https://api.github.com/users/liyongqi67/following{/other_user}","gists_url":"https://api.github.com/users/liyongqi67/gists{/gist_id}","starred_url":"https://api.github.com/users/liyongqi67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyongqi67/subscriptions","organizations_url":"https://api.github.com/users/liyongqi67/orgs","repos_url":"https://api.github.com/users/liyongqi67/repos","events_url":"https://api.github.com/users/liyongqi67/events{/privacy}","received_events_url":"https://api.github.com/users/liyongqi67/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T09:38:49Z","updated_at":"2018-12-18T14:17:00Z","closed_at":null,"author_association":"NONE","body":"I run the atrank network on my own dataset. I use the top command and find that the code consumes high cpu usage(1500%). I'm sure the network causes that because if I remove the network, it's normal.And I'm sure the network is running on Gpu. And if i use \"session_conf = tf.ConfigProto( intra_op_parallelism_threads=1, inter_op_parallelism_threads=1)\" to  limit the number of CPUs that tensorflow can use, the usage of cpu will not be high but the speed is very slow .So is there some ops in atrank consuming cpu? When you run the code, is there a high cpu usage? "},"comment":{"url":"https://api.github.com/repos/jinze1994/ATRank/issues/comments/448235122","html_url":"https://github.com/jinze1994/ATRank/issues/5#issuecomment-448235122","issue_url":"https://api.github.com/repos/jinze1994/ATRank/issues/5","id":448235122,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODIzNTEyMg==","user":{"login":"jinze1994","id":13191886,"node_id":"MDQ6VXNlcjEzMTkxODg2","avatar_url":"https://avatars3.githubusercontent.com/u/13191886?v=4","gravatar_id":"","url":"https://api.github.com/users/jinze1994","html_url":"https://github.com/jinze1994","followers_url":"https://api.github.com/users/jinze1994/followers","following_url":"https://api.github.com/users/jinze1994/following{/other_user}","gists_url":"https://api.github.com/users/jinze1994/gists{/gist_id}","starred_url":"https://api.github.com/users/jinze1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jinze1994/subscriptions","organizations_url":"https://api.github.com/users/jinze1994/orgs","repos_url":"https://api.github.com/users/jinze1994/repos","events_url":"https://api.github.com/users/jinze1994/events{/privacy}","received_events_url":"https://api.github.com/users/jinze1994/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T14:17:00Z","updated_at":"2018-12-18T14:17:00Z","author_association":"OWNER","body":"Thanks for your attention to our work. I didn't observe the CPU problem in our experiments. The placements of OP are made by tensorflow, and you can change it manually by `tf.device(\"/device:GPU:0\")`. As far as we know all ops we use have both the CPU and GPU implement. Furthermore, you can print the tensor or watch them in tensorboard, which you can figure out where the ops are placed."}}
{"actor":{"display_login":"jinze1994"}}