-
Notifications
You must be signed in to change notification settings - Fork 81
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
Training issue due to environment.yml file is not updated #35
Comments
Yes, the environment is somehow a bit old. I am thinking about to update the project in some days. |
Hi, did you just change python and pytorch version? I changed these two but still failed to install these dependencies. I am not sure what is wrong here. |
Yes, I only changed those for installation. Could you paste your error message so that others can better understand the error? Are you install on Mac/Win/Linux? |
I just managed to make it. But I got another problem saying that |
I think it might be, but not quite sure as it was quite some time ago. Maybe try changing the file |
Thank you. I've been able to run the program. However, I am not quite clear about the logic of testing for this program: At first I thought test_img folder should be the images for testing, while test_lab folder should be the testing results, however, when I run the program, the testing process requires not only test_img, but also the counterpart img in test_lab which is the identified cracks of test_img. |
|
As I understand, the masks(labels) for test images are output of a test procedure, so test_lab should be empty before testing. but when I run the program, it will pop out error if test_lab is empty. Please point out if I have some misunderstanding. Thanks. |
yes, you stored in the image you want to predict in The predicted result should be the 'fused' file in |
@davidvct Thank you for the explanation! |
The environment.yml file not updated, and has the exploding gradient issue.
I changed to python 3.8 and Pytorch 2.0.1, and the training ran smoothly. One other thing need to update is the tensor self.label needs to be converted to float before feed into self.criterionSeg, in file deepcrack_model.py.
The text was updated successfully, but these errors were encountered: