Coder Social home page Coder Social logo

potholes-detection's People

Contributors

jhasuman avatar jjldv avatar parthsuresh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

potholes-detection's Issues

No backend mentioned in config file

File "predict.py", line 46, in main
yolo = YOLO(backend = config['model']['backend'],
KeyError: 'backend'

What backend should be used for this pretrained model.?
Please help as soon as possible.

xml.etree.ElementTree.ParseError:

Traceback (most recent call last):
File "train.py", line 101, in
main(args)
File "train.py", line 34, in main
config['model']['labels'])
File "/home/yash/Desktop/potholes-detection-master/preprocessing.py", line 19, in parse_annotation
tree = ET.parse(ann_dir + ann)
File "/home/yash/anaconda3/envs/PythonGPU/lib/python3.6/xml/etree/ElementTree.py", line 1196, in parse
tree.parse(source, parser)
File "/home/yash/anaconda3/envs/PythonGPU/lib/python3.6/xml/etree/ElementTree.py", line 597, in parse
self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1, column 0

OSError: Unable to open file (unable to open file: name = '/path/to/trained_wts.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Traceback (most recent call last):
File "predict.py", line 96, in
main(args)
File "predict.py", line 56, in main
yolo.load_weights(weights_path)
File "D:\potholes-detection-master\potholes-detection-master\frontend.py", line 243, in load_weights
self.model.load_weights(weight_path)
File "I:\Anaconda\lib\site-packages\keras\engine\network.py", line 1157, in load_weights
with h5py.File(filepath, mode='r') as f:
File "I:\Anaconda\lib\site-packages\h5py_hl\files.py", line 408, in init
swmr=swmr)
File "I:\Anaconda\lib\site-packages\h5py_hl\files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = '/path/to/trained_wts.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

How to train this code with own dataset

Can someone help me with training 'train.py' with my own data set just to improve the accuracy?
And also it'll be very helpful if someone can explain what exactly is happening when 'predict.py' runs.
Thanks a lot!

Dataset

Can i please get the dataset used for training this model

OSError: Unable to open file (unable to open file: name = '/path/to/full_yolo_backend.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Traceback (most recent call last):
File "predict.py", line 96, in
main(args)
File "predict.py", line 56, in main
yolo.load_weights(weights_path)
File "D:\potholes-detection-master\potholes-detection-master\frontend.py", line 243, in load_weights
self.model.load_weights(weight_path)
File "I:\Anaconda\lib\site-packages\keras\engine\network.py", line 1157, in load_weights
with h5py.File(filepath, mode='r') as f:
File "I:\Anaconda\lib\site-packages\h5py_hl\files.py", line 408, in init
swmr=swmr)
File "I:\Anaconda\lib\site-packages\h5py_hl\files.py", line 173, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (unable to open file: name = '/path/to/full_yolo_backend.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.