{"action":"created","issue":{"url":"https://api.github.com/repos/deepfakes/faceswap-playground/issues/185","repository_url":"https://api.github.com/repos/deepfakes/faceswap-playground","labels_url":"https://api.github.com/repos/deepfakes/faceswap-playground/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/deepfakes/faceswap-playground/issues/185/comments","events_url":"https://api.github.com/repos/deepfakes/faceswap-playground/issues/185/events","html_url":"https://github.com/deepfakes/faceswap-playground/issues/185","id":333729904,"node_id":"MDU6SXNzdWUzMzM3Mjk5MDQ=","number":185,"title":"Memory Question","user":{"login":"samsonsite1","id":7414478,"node_id":"MDQ6VXNlcjc0MTQ0Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7414478?v=4","gravatar_id":"","url":"https://api.github.com/users/samsonsite1","html_url":"https://github.com/samsonsite1","followers_url":"https://api.github.com/users/samsonsite1/followers","following_url":"https://api.github.com/users/samsonsite1/following{/other_user}","gists_url":"https://api.github.com/users/samsonsite1/gists{/gist_id}","starred_url":"https://api.github.com/users/samsonsite1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsonsite1/subscriptions","organizations_url":"https://api.github.com/users/samsonsite1/orgs","repos_url":"https://api.github.com/users/samsonsite1/repos","events_url":"https://api.github.com/users/samsonsite1/events{/privacy}","received_events_url":"https://api.github.com/users/samsonsite1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-19T15:43:26Z","updated_at":"2018-06-20T07:47:53Z","closed_at":null,"author_association":"NONE","body":"Let's say I have 16GB of system RAM installed.\r\nNormally, when I train, my total memory stays around 3GB to 5GB.\r\n\r\nBut, sometimes, while training, using default settings (original model, etc..), my memory jumps 8 GB, \r\nfrom 5GB to 13GB, and everything slows to a crawl.  This only happens after I open a browser window, \r\nand start browsing for a few minutes.\r\n\r\nNow, if I open up Windows Task Manager, python.exe is only consuming 2GB, and my browser app is only consuming less than 250 MB.  So, where is this 8GB disappearing to?\r\n\r\nIf I never touch my computer while training, total memory usage never goes above 5GB, so I'm just curious what's happening here.\r\n"},"comment":{"url":"https://api.github.com/repos/deepfakes/faceswap-playground/issues/comments/398656866","html_url":"https://github.com/deepfakes/faceswap-playground/issues/185#issuecomment-398656866","issue_url":"https://api.github.com/repos/deepfakes/faceswap-playground/issues/185","id":398656866,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODY1Njg2Ng==","user":{"login":"Kirin-kun","id":36699120,"node_id":"MDQ6VXNlcjM2Njk5MTIw","avatar_url":"https://avatars3.githubusercontent.com/u/36699120?v=4","gravatar_id":"","url":"https://api.github.com/users/Kirin-kun","html_url":"https://github.com/Kirin-kun","followers_url":"https://api.github.com/users/Kirin-kun/followers","following_url":"https://api.github.com/users/Kirin-kun/following{/other_user}","gists_url":"https://api.github.com/users/Kirin-kun/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirin-kun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirin-kun/subscriptions","organizations_url":"https://api.github.com/users/Kirin-kun/orgs","repos_url":"https://api.github.com/users/Kirin-kun/repos","events_url":"https://api.github.com/users/Kirin-kun/events{/privacy}","received_events_url":"https://api.github.com/users/Kirin-kun/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T07:47:53Z","updated_at":"2018-06-20T07:47:53Z","author_association":"NONE","body":"I think you can use an environment variable for that, before launching faceswap. \r\n\r\nSET CUDA_VISIBLE_DEVICES=1 | Only device 1 will be seen\r\nSET CUDA_VISIBLE_DEVICES=0,1 | Devices 0 and 1 will be visible\r\nSET CUDA_VISIBLE_DEVICES=”0,1” | Same as above, quotation marks are optional\r\nSET CUDA_VISIBLE_DEVICES=0,2,3 | Devices 0, 2, 3 will be visible; device 1 is masked\r\n\r\nIf you use hwmonitor, you should see clearly which GPU is used.\r\n\r\n"}}
{"actor":{"display_login":"Kirin-kun"}}