catchzeng / tensorflow-unet-labelme Goto Github PK
View Code? Open in Web Editor NEWBuild U-NET with TensorFlow 2 and train a dataset annotated with labelme
Home Page: https://makeoptim.com/en/deep-learning/yiai-unet
Build U-NET with TensorFlow 2 and train a dataset annotated with labelme
Home Page: https://makeoptim.com/en/deep-learning/yiai-unet
Thanks a lot for sharing the code and it's really useful for me.
I have two questions about the code.
Looking forward to your answer. Thanks
Hey I am getting this error while Training. Can you please help.. Thanks:)
UnknownError Traceback (most recent call last)
in
15 validation_steps=VALIDATION_STEPS,
16 validation_data=val_batches,
---> 17 callbacks=[displayCallback, checkpointCallback])
18
19 model.save('logs/the-last-model.h5', overwrite=True)
1 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
53 ctx.ensure_initialized()
54 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
---> 55 inputs, attrs, num_outputs)
56 except core._NotOkStatusException as e:
57 if name is not None:
UnknownError: Graph execution error:
2 root error(s) found.
(0) UNKNOWN: FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/Voc data/Train_new7/JPEGImages/I.jpg'
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/ops/script_ops.py", line 271, in call
ret = func(*args)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/autograph/impl/api.py", line 642, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/data/ops/dataset_ops.py", line 1004, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "/usr/local/lib/python3.7/dist-packages/keras/engine/data_adapter.py", line 830, in wrapped_generator
for data in generator_fn():
File "/usr/local/lib/python3.7/dist-packages/keras/engine/data_adapter.py", line 956, in generator_fn
yield x[i]
File "", line 25, in getitem
name +'.jpg'))
File "/usr/local/lib/python3.7/dist-packages/PIL/Image.py", line 3068, in open
fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/Voc data/Train_new7/JPEGImages/I.jpg'
[[{{node PyFunc}}]]
[[IteratorGetNext]]
(1) CANCELLED: Function was cancelled before it was started
0 successful operations.
0 derived errors ignored. [Op:__inference_train_function_18667]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.