initializing self.sess in __init__