-
Notifications
You must be signed in to change notification settings - Fork 590
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
FileNotFoundError: [Errno 2] No such file or directory: '. #2
Comments
Dear @PanPan0210 , I think your directory name is different from mine. |
yeah i think so ,could you tell me your directory name ? i didnot find it in the readme.md document |
In the 'dataset.py' , parser.add_argument('--origin_data_path', type=str, default='../ISIC/dataset/ISIC2018_Task1-2_Training_Input')
parser.add_argument('--origin_GT_path', type=str, default='../ISIC/dataset/ISIC2018_Task1_Training_GroundTruth')
parser.add_argument('--train_path', type=str, default='./dataset/train/')
parser.add_argument('--train_GT_path', type=str, default='./dataset/train_GT/')
parser.add_argument('--valid_path', type=str, default='./dataset/valid/')
parser.add_argument('--valid_GT_path', type=str, default='./dataset/valid_GT/')
parser.add_argument('--test_path', type=str, default='./dataset/test/')
parser.add_argument('--test_GT_path', type=str, default='./dataset/test_GT/') '../ISIC/dataset/ISIC2018_Task1-2_Training_Input' is the origin image path, |
hello ,thank you dor your answer ,but i have another problem RuntimeError: Given groups=1, weight of size [64, 3, 3, 3], expected input[1, 1, 256, 256] to have 3 channels, but got 1 channels instead how can i solve it ? |
It's ok, I think you read the wrong data as a input. (may be ground truth image)
|
yeah,i just use a gray scale image ,so what should i do to use it? |
You should use RGB 3 channels images as the input. |
so ,i can't use my dataset in this code ? |
Do you have only 1 channel image? Then, you should change setting to |
thank you very much for your help |
solver.py#L231 Here is the code for saving images. You can modify this code to save whole images. |
thank you very much ; |
I didn't implement the code for plotting a graph, but you can refer here :) |
thank you for your help , i do not know how to solve it |
I think your pytorch version is not fit with your code. |
hello,i want to know Epoch [3/150], Loss: 1130.9463, why the value of 'Loss'is so big ?i do not know if it is a error ? |
Is it for your own data? or ISIC data? |
on my own data ,the loss is very high ,and the result is bad , |
then I cannot help you. because I have not any information about your data. |
thank you , |
If you have no further questions, I will close the issue. I hope my answer was helpful. |
hello i have some problems about this code
Traceback (most recent call last):
File "/home/panpan/wenjian/pytorchImage_Segmentation-master/dataset.py", line 115, in
main(config)
File "/home/panpan/wenjian/pytorchImage_Segmentation-master/dataset.py", line 55, in main
copyfile(src, dst)
File "/home/panpan/anaconda3/lib/python3.6/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '../ISIC/dataset/train_data/ISIC_33.png'
i dont know how to deal with ,can you help me ?thanks a lot
The text was updated successfully, but these errors were encountered: