visinf/multi-mono-sf

./eval_ft_test.sh

Opened this issue · 3 comments

Hello, after I modified the dataset address ,run ./eval_ft_test.sh , report an error:
mian.py:error : unrecognized arguments: --validation_dataset_preprocessing_crop=False.
Why is this?Hope to get your answer.

Hi, I guess that's my mistake.
Could you please delete this line and try again?

--validation_dataset_preprocessing_crop=False \

Hi,after I modified it according to your request, I reported a new error:AttributeError: 'Namespace' object has no attribute 'validation_key_minimize'.
Meanwhile, in the processing below, it prompts me that ./eval_ft_test.sh: line 31: --validation_dataset_root=/autodl-tmp/multi-mono-sf-main/scene_flow2015: No such file or directory.But I am sure that the data set can be found according to this address.

It seems like these lines didn't work.

validation_loss = known_args["validation_loss"]
if validation_loss is not None:
parser.add_argument("--validation_key", type=str, default="total_loss")
parser.add_argument("--validation_key_minimize", type=tools.str2bool, default=True)

Could you provide the eval_ft_test.sh file you used? It's not easy to fix the problem with a fraction of the information.

Also, you could print out which directory images_l_root has and check if it correctly directs.

images_l_root = os.path.join(root, "data_scene_flow_multiview", "testing", "image_2_jpg")