Color_Transfer_Histogram_Analogy icon indicating copy to clipboard operation
Color_Transfer_Histogram_Analogy copied to clipboard

running on cpu

Open yarinlevy1018 opened this issue 3 years ago • 4 comments

hi, can I run this code on CPU only? if the answer is yes, where I should need to change the code? because my computer doesn't have a GPU device, and the code is failing...

yarinlevy1018 avatar Aug 24 '22 17:08 yarinlevy1018

It is not currently supported. You can change every line with .cuda() or .to('cuda') to .to('cpu'). I will try to add CPU availability in my spare time (probably next week).

codeslake avatar Aug 25 '22 00:08 codeslake

thanks you so much! and thanks for your code!

‫בתאריך יום ה׳, 25 באוג׳ 2022 ב-3:35 מאת ‪Junyong Lee‬‏ <‪ @.***‬‏>:‬

It is not currently supported. You can change every line with .cuda() or .to('cuda') to .to('cpu'). I will try to add CPU availability in my spare time (probably next week).

— Reply to this email directly, view it on GitHub https://github.com/codeslake/Color_Transfer_Histogram_Analogy/issues/14#issuecomment-1226635059, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ56PK3CZILELXHB6ORC5BLV225VRANCNFSM57QHIWTQ . You are receiving this because you authored the thread.Message ID: @.*** com>

yarinlevy1018 avatar Aug 25 '22 10:08 yarinlevy1018

hi, can you please publish a version which supported cpu? I'v tried to change the code as you've written but I still get errors of fork and multi-proccessing...

yarinlevy1018 avatar Sep 06 '22 19:09 yarinlevy1018

Hi, I will be able to work on it probably next week.

codeslake avatar Sep 07 '22 04:09 codeslake

Sorry for the delay, refer here, please.

codeslake avatar Nov 29 '22 17:11 codeslake