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

nan and inf #31

Open
1991yuyang opened this issue Mar 15, 2024 · 2 comments
Open

nan and inf #31

1991yuyang opened this issue Mar 15, 2024 · 2 comments

Comments

@1991yuyang
Copy link

Hello, I would like to ask if during the training process, there are prompts for the presence of nan and inf in the input, and the relative depth of each pixel in the output of the model after training is basically the same. Here are my training commands.

python execute.py --exe train --model_name distdepth-distilled --frame_ids 0 -1 1 --log_dir='./tmp/model_from_server_34_256_10_frame_seq' --data_path SimSIN-simple --dataset SimSIN --batch_size 16 --width 256 --height 256 --max_depth 10.0 --num_epochs 500 --scheduler_step_size 200 --learning_rate 0.0001 --thre 0.95 --num_layers 34 --log_frequency 100 --use_stereo --load_weights_folder weights --save_frequency 20

output of model as bellow:
Screenshot from 2024-03-15 09-09-04

@choyingw
Copy link
Collaborator

Hi, thank you for reporting this. Does the instability happen at the start of the training, or it was triggered at some point during training? Thanks

@choyingw
Copy link
Collaborator

I have identified the root cause (too large loss weights), and the current head should fix the issue.

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