pytorch_depth_from_videos_in_the_wild icon indicating copy to clipboard operation
pytorch_depth_from_videos_in_the_wild copied to clipboard

IndexError: string index out of range

Open Kwame261 opened this issue 1 year ago • 2 comments

Hello I tried training on some data from kitti.

I first run the generate on a sample and then the train.py.

This is the error I get.

IndexError: string index out of range

Traceback (most recent call last): File "train.py", line 61, in main_worker(0, world_size, method, gpus, dist_backend, unknown_args1) File "train.py", line 25, in main_worker trainer = method_zoo[method]1 File "/home/kwameampofo/pytorch_depth_from_videos_in_the_wild/trainers/wild_trainer.py", line 29, in init super(WildTrainer, self).init(options) File "/home/kwameampofo/pytorch_depth_from_videos_in_the_wild/trainers/base_trainer.py", line 34, in init self._preliminary_setups() File "/home/kwameampofo/pytorch_depth_from_videos_in_the_wild/trainers/base_trainer.py", line 99, in _preliminary_setups if inp.lower()[0] == "y": IndexError: string index out of range

Can you please help me debug what is causing this?

Kwame261 avatar Feb 28 '23 00:02 Kwame261

Hello, @Kwame261

Sorry for my late response, have you resolved this issue. If not, please share the arguments you used. Thanks.

bolianchen avatar Mar 02 '23 11:03 bolianchen

Hello, Thank you for your response. I have resolved this issue

Kwame261 avatar Mar 02 '23 15:03 Kwame261