# Track all experiments with a separate directory

**URL:** <https://discuss.dvc.org/t/track-all-experiments-with-a-separate-directory/722>\
**Category:** Questions\
**Created:** [April 14, 2021, 9:42am UTC](https://discuss.dvc.org/t/track-all-experiments-with-a-separate-directory/722 "2021-04-14T09:42:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsorros](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/nsorros/32/104_2.png) [@nsorros](https://discuss.dvc.org/u/nsorros)\
**Post date:** [April 14, 2021, 9:42am UTC](https://discuss.dvc.org/t/track-all-experiments-with-a-separate-directory/722/1 "2021-04-14T09:42:59Z")

</div>

I am reading about experiment management [https://dvc.org/doc/user-guide/experiment-management](https://dvc.org/doc/user-guide/experiment-management) and I am interested in exploring the directories organisation pattern where you can keep all your experiments that you have run recorded at the same time and not through git history.

What is not clear to me is how to implement that pattern though? Anyone has a better idea of how this works?

---

<div class="post-metadata">

**Author:** ![dberenbaum](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dberenbaum](https://discuss.dvc.org/u/dberenbaum)\
**Post date:** [April 14, 2021, 12:44pm UTC](https://discuss.dvc.org/t/track-all-experiments-with-a-separate-directory/722/2 "2021-04-14T12:44:30Z")

</div>

Hi @nsorros,

Developing workflows for experiment management is still a work in progress for DVC. The most natural way to organize experiments now is to use `dvc exp run` and compare them with `dvc exp show`.

If it’s important for you to have each experiment in its own directory, you could instead look into using `foreach` stages to define a separate stage for each experiment: [https://dvc.org/doc/user-guide/project-structure/pipelines-files#foreach-stages](https://dvc.org/doc/user-guide/project-structure/pipelines-files#foreach-stages). With this approach, keep in mind that each experiment’s metrics will be written to a different file, making it harder to compare them with commands like `dvc exp show`.

As I said, these workflows are still a work in progress, so feel free to provide more context for why you want to use separate directories or open a feature request in [Discussions · iterative/dvc · GitHub](https://github.com/iterative/dvc/discussions/categories/new-features-ideas).
