image-segmentation-keras icon indicating copy to clipboard operation
image-segmentation-keras copied to clipboard

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/vgg_unet_1_config.json'

Open vaihav opened this issue 4 years ago • 5 comments

I was implementing the code detailed on "https://github.com/divamgupta/image-segmentation-keras" I am getting the error related to "o such file or directory: '/tmp/vgg_unet_1_config.json" I am using the dataset shared at https://drive.google.com/file/d/0B0d9ZiqAgFkiOHR1NTJhWVJMNEU/view?usp=sharing . How do I solve the issue.

Thank you, Regards, Vaibhav

vaihav avatar Feb 27 '20 08:02 vaihav

Linux will have a tmp directory that is probably not present in Windows. Also, I think that anything stored in tmp will not be present after a new boot up. I am placing all of this in ‘weights/vgg...’ subdirectory for the project instead. Just be sure to create the subdirectory ‘weights’ first.

Philliec459 avatar Mar 13 '20 01:03 Philliec459

The automatic creation of the directory does not work neverthelss.

Windows here.

Looking at the codde, it is not looking in the UNXI tmp folder, but in a subfolder of the working path of your program and it's not creating this.

GGDRriedel avatar May 18 '20 15:05 GGDRriedel

Linux will have a tmp directory that is probably not present in Windows. Also, I think that anything stored in tmp will not be present after a new boot up. I am placing all of this in ‘weights/vgg...’ subdirectory for the project instead. Just be sure to create the subdirectory ‘weights’ first.

Thank you, I got what you mean. But can you tell me how can I place this in ‘weights/vgg...’. Where directoty can I do this?? Thank you very much.

AlbertPYB avatar Jun 07 '20 11:06 AlbertPYB

I have the same issue. Any solution?

forest44 avatar Jun 27 '20 14:06 forest44

I had the same issue when I ran the example code provided. Then I commented out the line containing the checkpoint path and it worked. Just creating a folder named 'tmp' in the directory I work did not change something. (Also working on Windows here.)

theo258 avatar Aug 17 '20 22:08 theo258