visualbuffer / parkingslot Goto Github PK
View Code? Open in Web Editor NEWAutomated parking occupancy detection
Automated parking occupancy detection
model_data/yolo.h5... Where is this folder/file situated?
When I run this code, I get this error.
!python ./convert.py ./yolov3.cfg yolov3.weights model_data/yolo.h5
OSError: Unable to create file (unable to open file: name = 'model_data/yolo.h5', errno = 2, error message = 'No such file or directory', flags = 13, o_flags = 242)
getting KeyError: 'camera' while executing resnet_occupancy.py file
@visualbuffer can you help me to solve this?
complete error log:
Traceback (most recent call last):
File "C:\Users\5tg_user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\indexes\base.py", line 3080, in get_loc
return self._engine.get_loc(casted_key)
File "pandas_libs\index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 4554, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'camera'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "Parking_Slot_mask_rcnn.py", line 233, in
image_data = get_data()
File "C:\Users\5tg_user1\Desktop\proj-ml-parking-lot-occupancy-detection\5tg_ml_parking_lot_occupancy-detection\utilities.py", line 81, in get_data
image_data["camera"] = image_data["camera"].astype("category")
File "C:\Users\5tg_user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\frame.py", line 3024, in getitem
indexer = self.columns.get_loc(key)
File "C:\Users\5tg_user1\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\core\indexes\base.py", line 3082, in get_loc
raise KeyError(key) from err
KeyError: 'camera'
Hi,
The dataset for download is not available in http://cnrpark.it/dataset/CNR-EXT_FULL_IMAGE_1000x750.tar.
Any hints?
Regards,
Sabya
HI this is great work, can you please provide the requirement .txt file or which version of TensorFlow you used?
Thanks in advance
The output produced by maskedrcnn is not like the one shown in image.
In the yolo_training.py file under the function train() in line 595 "./train.txt" is assigned. Where will we find the train.txt file. Thank you in advance.
The PRETRAINED MODEL WEIGHTS "mask_rcnn_coco.h5" is not a trained weights。
I add the code:
if name == 'main':
detection = DETECTION()
detection.process_images()
in the end of the resnet_occupancy.py, and get the error: > BrokenPipeError: [Errno 32] Broken pipe
How to modify the Multi-thread to the Single-thread?
I'm trying execute Parking_Slot_YOLO.py. It calls yolo.py in which there are these codes:
class YOLO(object):
_defaults = {
"model_path": "drive/MyDrive/ToEditParkingDetection/parkingslotmaster/model_data/yolo.h5", #
"anchors_path": 'model_data/yolo_anchors.txt',
"classes_path": 'model_data/coco_classes.txt',
"score" : 0.15,
"iou" : 0.4,
"model_image_size" : (416, 416),
"gpu_num" : 1,
}
May someone tell me where I can find or how to generate those .txt files please?
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.