mathieulagrange / doce

Doce is a python library designed to help you handling the complexity of computational experiments.
Apache License 2.0
8 stars 2 forks source link

Issue while renaming doce output files #211

Open modantailleur opened 1 year ago

modantailleur commented 1 year ago

I've been facing an issue with doce when renaming my data.

Let's say for example that I have 4 file names,

I want to rename all those files to add "ts=0" in the name, so that they would look like this:

As you can see, with what's currently written on the documentation in the section "removing a factor", this is not easily feasable. I can't just find the last "_" sign and put the "ts=0" at this position, since some metrics are named "loss" and others "loss_eval". I can't find "transcoder=mlp", because it will add a ts=0 between "mlp" and "pinv".

A solution would be to add three functions:

mathieulagrange commented 1 week ago

Would it be of interested to change the "_" to something like :

-> -->

What is your opinion ?

mathieulagrange commented 1 day ago

hello, you can now explicitly set your delimiter (see demo.py). Can you play around with this and let me know ?