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

Confusing command for path output #83

Open
jcohenadad opened this issue Apr 14, 2024 · 2 comments
Open

Confusing command for path output #83

jcohenadad opened this issue Apr 14, 2024 · 2 comments

Comments

@jcohenadad
Copy link
Member

Based on the wiki:

image

However, it does not. Here's what I've entered:

python ~/code/manual-correction/manual_correction.py -path-img data -path-out data -config config_labels.yml

My input and output path are the same-- i expected the labels to go under derivatives/labels, but instead they are placed at the same level as the input data:

image
@valosekj
Copy link
Member

If -path-out is not specified, it is automatically constructed as -path-img + derivatives/labels (L117, L734).

However, if -path-out is provided, the exact path specified by the user is used (i.e., no derivatives/labels is automatically added). IIRC, I implemented this behaviour because sometimes we use other output paths, such as derivatives/labels_soft.

@jcohenadad
Copy link
Member Author

If -path-out is not specified, it is automatically constructed as -path-img + derivatives/labels (L117, L734).

I understand the logic after you explained it, but I don't find it intuitive. If I struggled, other external users will also struggle.

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