Can you kindly let me know how to do weakly supervised learning in this architecture, and what main modifications are required? Thanks.