CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

how to add 1bit-SGD on TransferLearning example?

Open roger77 opened this issue 9 years ago • 1 comments

I'm just getting started and the TransferLEarning is a great example for me. I'd like to add 1bit-SGD but all the example I find do not seem to apply to this case.

Thanks

roger77 avatar Mar 27 '17 07:03 roger77

Typically going distributed is as simple as wrapping your local learner with a distributed learner e.g.

parameter_learner = block_momentum_distributed_learner(local_learner, block_size=block_size)

or

parameter_learner = data_parallel_distributed_learner(local_learner, num_quantization_bits=num_quantization_bits, distributed_after=warm_up)

Then your trainer should use parameter_learner rather than local_learner.

If that's not working for you in the TransferLearning example, feel free to reopen this with followup questions.

n17s avatar Jul 13 '17 16:07 n17s