Temporary directory to Permanent directory on Python Script #635
-
Dear MONAI team, @Nic-Ma @yiheng-wang-nv I am trying to switch from Jupyter Notebook to Python scripts in order to optimize a faster inference mode using your example. I don't want to create a temporary directory, just use files from my local permanent directory for the training and testing. Therefore I am receiving an error for the last part of the code I assume. Here is the full code of the training script. Can you please help to see how to modify my code to make it work eventually. Look forward to hearing from you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @HripsimeS , it looks like there is no data loaded, thus
In addition, from your notebook, I did not find the log that should be printed (like in this line: |
Beta Was this translation helpful? Give feedback.
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:
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?