Closed sduxzh closed 5 years ago
Hello, Please check the code.
Best wishes Snail
Hi,
Nice @sduxzh!
Some comments/questions follow below.
TensorboardX: I believe visualization/writer (TensorboardX) should be separated from 'BaseTrainer'. Maybe in its own module that is imported by BaseTrainer if the configuration file asks for it.
The above will also enable users to customize their visualization extensively according to their needs (say if they wish to show example output in a GAN model every n'th epoch).
I hope my proposal is clear, if not, I can provide either a proposal or more details on Monday.
Multi-GPU: I have not yet worked much with multi-gpu myself, but I have a couple questions:
What do we do with this pull request, then?
@SunQpark has separately implemented TensorboardX (in alignment with the proposal I wrote above).
Multi GPU is still not handled.
I have handled tensorboardX support with other PR #17 and Multi-GPU implementation in this PR does not cover distributing data into machines. Maybe Multi-GPU support can be done later. I feel sorry for not merging this PR @sduxzh, but I will close this PR.
Hello, Please check the code.
Best wishes Snail