Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs remove .. from relative paths #188

Closed
christophhillisch opened this issue Jan 23, 2025 · 5 comments
Closed

Logs remove .. from relative paths #188

christophhillisch opened this issue Jan 23, 2025 · 5 comments

Comments

@christophhillisch
Copy link
Contributor

In the log file relative paths seem to be shortened for all entries except the command line entry in line 2.
After the Command line entry, every other one is missing the .. from the paths.

12:44:50 Started REINVENT 4.5.11 (C) AstraZeneca 2017, 2023 on 2025-01-23
12:44:50 Command line: /usr/local/bin/reinvent -l ../output/reinvent.log ../input/config.toml
12:44:50 Reading run configuration from /input/config.toml using format toml

Another example:

12:35:19 Started REINVENT 4.5.11 (C) AstraZeneca 2017, 2023 on 2025-01-23
12:35:19 Command line: /usr/local/bin/reinvent -l ../output/reinvent.log ../input/config.toml
12:35:19 Reading run configuration from /input/config.toml using format toml
12:35:19 User root on host a830f92ae173
12:35:19 Python version 3.10.16
12:35:19 PyTorch version 2.2.1+rocm5.7, git 6c8c5ad5eaf47a62fafbb4a2747198cbffbf1ff0
12:35:19 PyTorch compiled with CUDA version None
12:35:19 RDKit version 2023.09.5
12:35:19 Platform Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.36
12:35:19 Number of PyTorch CUDA devices 0
12:35:19 Using CPU
12:35:19 Writing JSON config file to /output/tl_input.json
12:35:19 Starting Transfer Learning
12:35:19 /input/reinvent.prior has valid hash:

@halx
Copy link
Contributor

halx commented Jan 23, 2025

Hi,

paths should be transformed to absolute pathnames. Not sure why that does not work for you. WSL?

Cheers,
Hannes.

@christophhillisch
Copy link
Contributor Author

Hi Hannes,
I'm running this in a python:3.10-slim-based docker container. No WSL.

@halx
Copy link
Contributor

halx commented Jan 24, 2025

Where in your container are those directories located?

Your platform is reported as Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.36

@christophhillisch
Copy link
Contributor Author

christophhillisch commented Jan 24, 2025

They are on the same level as the reinvent folder containing the Git Repository

home
  .reinvent
  .input
  .output

@halx
Copy link
Contributor

halx commented Jan 26, 2025

I simply do not know why that happens in your container. It's working just fine in all cases I have seen otherwise.

@halx halx closed this as completed Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants