Closed monajalal closed 1 year ago
Is this method acceptable or do you have a better suggestion for fixing the error?
I think it's okay, although the real path of the file that scripts/train.py
is supposed to be using is src/dope/utils.py
.
can
scripts/train2/train.py
andscripts/train.py
be used for any dataset that is made with either of NDDS or NViSii?
scripts/train.py
can handle NDDS and NViSii format. scripts/train2/train.py
can only handle NViSii format. The difference is minor (grep for projected_cuboid_centroid
to find the relevant part of the code), and could be ported over to scripts/train2/train.py
if you wanted to.
Is there a preference to use one over the other one?
There are some minor differences, but I haven't been able to figure out yet if they make a significant difference one way or the other. I've used both scripts recently with decent results. In the long term, we should clean up the code base to only have one training script.
Thank you so much. This makes sense why I was not able to train the train2 for a NDDS3 dataset. So far, this answered my question so I close the issue for now.
I am interested in standalone and independent from ROS training. I noticed you have two scripts for that:
scripts/train2/train.py and scripts/train.py
*I was also able to train the shiny meat dataset with train2/train.py with no problem.
I used the second one and got error for the code not being able to find the
make_grid
by having the original linefrom dope.utils import make_grid
so I changed it tofrom train2.utils_dope import make_grid
and didn't receive any errors. Is this method acceptable or do you have a better suggestion for fixing the error?and here's the result:
Other side questions:
scripts/train2/train.py
andscripts/train.py
be used for any dataset that is made with either of NDDS or NViSii?