Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./eval_ft_test.sh #9

Open
cuiyu330 opened this issue Sep 17, 2022 · 3 comments
Open

./eval_ft_test.sh #9

cuiyu330 opened this issue Sep 17, 2022 · 3 comments

Comments

@cuiyu330
Copy link

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.

@hurjunhwa
Copy link
Collaborator

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

--validation_dataset_preprocessing_crop=False \

@cuiyu330
Copy link
Author

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.

@hurjunhwa
Copy link
Collaborator

hurjunhwa commented Sep 19, 2022

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")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants