RobbiePasquale
commited on
Commit
•
604891c
1
Parent(s):
84998a2
Update train_agent.py
Browse files- train_agent.py +5 -0
train_agent.py
CHANGED
@@ -142,6 +142,11 @@ def train_agent():
|
|
142 |
def main(is_colab=False):
|
143 |
global IS_COLAB
|
144 |
IS_COLAB = is_colab
|
|
|
|
|
|
|
|
|
|
|
145 |
logger.info("Starting agent training")
|
146 |
d = task.deferLater(reactor, 0, train_agent)
|
147 |
d.addErrback(lambda failure: logger.error(f"An error occurred: {failure}", exc_info=True))
|
|
|
142 |
def main(is_colab=False):
|
143 |
global IS_COLAB
|
144 |
IS_COLAB = is_colab
|
145 |
+
print(f"Current working directory: {os.getcwd()}")
|
146 |
+
print(f"Python path: {sys.path}")
|
147 |
+
print(f"Contents of current directory:")
|
148 |
+
for item in os.listdir():
|
149 |
+
print(f" {item}")
|
150 |
logger.info("Starting agent training")
|
151 |
d = task.deferLater(reactor, 0, train_agent)
|
152 |
d.addErrback(lambda failure: logger.error(f"An error occurred: {failure}", exc_info=True))
|