Skip to content

Temporary directory to Permanent directory on Python Script #635

Answered by yiheng-wang-nv
HripsimeS asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HripsimeS , it looks like there is no data loaded, thus step is 0.
Can you please double check if the data is loaded normally? You can do sth like:

...
for batch_data in train_loader:
    step += 1
    inputs, labels = batch_data["image"].to(device), batch_data["mask"].to(device)
    print(inputs.shape)

In addition, from your notebook, I did not find the log that should be printed (like in this line: print(f"epoch {epoch + 1}/{max_epochs}"), which is at the beginning of each epoch). Therefore, could you keep the full output and save the notebook?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@HripsimeS
Comment options

@yiheng-wang-nv
Comment options

@HripsimeS
Comment options

Answer selected by HripsimeS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants