The goal is to do independent motion detection by weakly supervised learning. Reimplementing "Weakly Supervised Strategies for Natural Object Recognition in Robotics". The task is of two steps 1) Egomotion Learning and 2) Anomaly Detection. The idea is to learn the normal behavior of the optical flow in presence of pure egomotion, thus we can model independent moving objects as anomalies of the optical flow.