Closed skywolf829 closed 7 months ago
Based on the results from this (after implemented) we may need to try different socket libraries or connection type (UDP/TCP). I believe the original GS code uses UDP which may be most appropriate, but the multiprocessing.connection
library I'm using is TCP I believe.
Added DEBUG
mode in backend and a way to enable it on the frontend through a button on a DebugWindow
. This allows the user to test the frontend without needing CUDA, any datasets, or real training to take place.
With DEBUG
enabled, the Dataset
does nothing, and the Trainer
's step()
function will generate a random image output (noise shape [1024, 1024, 3]) with a random loss each time. On my mac at full speed, this only reaches about ~100 iterations per second. Hopefully the networking isn't limiting speed, and my mac is just slower.
To avoid needing a full-functioning backend for testing (some aspects of) the frontend, we need some way to generate toy data and transmit it to the frontend.
Requirements
Frontend
Backend