Quiet false interactive mode warning.
@@ -1773,7 +1773,7 @@ class TorchAgent(ABC, Agent):
def set_interactive_mode(self, mode, shared):
"""Set interactive mode on or off."""
- if shared is None:
+ if shared is None and mode:
# Only print in the non-shared version.
print("[" + self.id + ': full interactive mode on.' + ']')
