ravens/environment.py
def is_cloth_env(self):
        """Keep this updated when I adjust environment names."""
        return (isinstance(self.task, tasks.names['cloth-flat']) or
                isinstance(self.task, tasks.names['cloth-flat-notarget']) or
                isinstance(self.task, tasks.names['cloth-cover']))
Keep this updated when I adjust environment names.
Keep this updated when I adjust environment names.
Keep this updated when I adjust environment names .
def is_cloth_env(self):
        return (isinstance(self.task, tasks.names['cloth-flat']) or
                isinstance(self.task, tasks.names['cloth-flat-notarget']) or
                isinstance(self.task, tasks.names['cloth-cover']))
def is_cloth_env ( self ) : return ( isinstance ( self . task , tasks . names [ 'cloth-flat' ] ) or isinstance ( self . task , tasks . names [ 'cloth-flat-notarget' ] ) or isinstance ( self . task , tasks . names [ 'cloth-cover' ] ) )
Keep this updated when I adjust environment names.
Keep this updated when I adjust environment names .
"""Keep this updated when I adjust environment names."""
self