How to change and set up dvc config file so can manage the weights file?
Hi
Im using ROS2 and currently managing the weight file by dvc. This is the dvc file:
outs:
- md5: b2c80e73090cae013eef778308faf8fc
size: 202055043
path: checkpoint_1.pth.tar
So I would like to create a dvc config file so that when it's necessary to change the weight file then I change the dvc config file. But this solution need to work with ros2. My current config yaml file for the weights is like
...
robot_perception_detector:
ros__parameters:
weights: /home/ros2/foxy/src/robot_pkg/data/model_weights/checkpoint_1.pth.tar
....
I was suggested to use (Templating])(https://dvc.org/doc/user-guide/project-structure/dvcyaml-files#templating), but Im not sure if that works with ROS and if yes how to implement in ROS2. Any help and advice how this config file should looks like so that works in both cases?
Thanks
Asked by Astronaut on 2022-12-02 02:24:36 UTC
Comments