Code for "ObscureNet: Learning Attribute-invariant Latent Representation for Anonymizing Sensor Data", ACM/IEEE IoTDI 2021