| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Tegu-core is the core component of Tegu, which provides an encapsulation of some state-of-the-art deep learning models of computer vision, and its APIs are called by the Tegu GUI components. You can use Tegu-core to provide some deep learning functions in your own Python projects with only a few codes.
Tegu-core 是 Tegu 的核心组件,提供了对一些当前最佳实践(State of the Art)的计算机视觉深度学习模型的封装,与Tegu GUI配合使用。若您需要在Python项目中引入深度学习功能,只需要很少的代码,您就可以将Tegu-core与您的项目一起配合使用。
For deep learning tasks, Tegu uses the Network_Model class to manage training tasks, and uses the Network_Dataloader class to manage data sets.
|CarDataset/
|--trainset/ #Images to train the model.
|--xxx.jpg
...
|--testset/ #Images to test your model.
|--xxx.jpg
...
|car_annotation.serval #The annotation file contains the annotations for the images in the trainset directory.from Network.SSD300.API import SSD_Model, SSD_DataLoaderm = SSD_Model(class_count=2, base_lr=0.0004)
d = SSD_DataLoader(anno_path=r"dataset/save/path/car_annotation.serval", data_path=r"dataset/save/path/trainset",batch_size=16)m.set_dataset(d)epoch = 100
for i in range(epoch):
train_info = m.train()
print(train_info) #{'loss':[3.3914230046448886], 'val_loss':[3.8560243606567384]}
if (i+1)%20==0 or i+1==epoch:
save_path = "ssd_model{}.h5".format(str(i).zfill(3))
m.model.save(save_path)m = SSD_Model(class_count=2)m.predict(img_path=r"dataset/save/path/trainset/xxx.jpg", model_path=r"ssd_modelXXX.h5", anno_path=r"dataset/save/path/car_annotation.serval")
#[[label:int, class_name:str, score:double, (xmin, ymin), (xmax, ymax)]]For more usage, see Example.
pip3 install -r requirements.txtFor Image Recognition and Video Classification, we have developed a set of tools to process and clean up the datasets. You may use Tegu Image Annotation and Tegu Video Annotation to process your dataset.
HTTP API is available for Image Recognition, Facial Recognition and License Plate Recognition
For Image Recognition and Video Classification, we have developed a set of tools to process and clean up the datasets. You may use Tegu Image Annotation and Tegu Video Annotation to process your dataset.
Project initialized by Generalized Intelligence Distributed under the BSD 3-Clause license. See LICENSE for more information.
Please follow CONTRIBUTING.md
对于深度学习任务,Tegu 使用 网络名_Model 类来管理训练任务,使用 网络名_Dataloader 类来管理数据集。
|CarDataset/
|--trainset/ #Images to train the model.
|--xxx.jpg
...
|--testset/ #Images to test your model.
|--xxx.jpg
...
|car_annotation.serval #The annotation file contains the annotations for the images in the trainset directory.from Network.SSD300.API import SSD_Model, SSD_DataLoaderm = SSD_Model(class_count=2, base_lr=0.0004)
d = SSD_DataLoader(anno_path=r"dataset/save/path/car_annotation.serval", data_path=r"dataset/save/path/trainset",batch_size=16)m.set_dataset(d)epoch = 100
for i in range(epoch):
train_info = m.train()
print(train_info) #{'loss':[3.3914230046448886],'val_loss':[3.8560243606567384]}
if (i+1)%20==0 or i+1==epoch:
save_path = "ssd_model{}.h5".format(str(i).zfill(3))
m.model.save(save_path)m = SSD_Model(class_count=2)m.predict(img_path=r"dataset/save/path/trainset/xxx.jpg", model_path=r"ssd_modelXXX.h5", anno_path=r"dataset/save/path/car_annotation.serval")
#[[label:int, class_name:str, score:double, (xmin, ymin), (xmax, ymax)]]查看更多应用,请参见 Example。
pip3 install -r requirements.txt对于图像检测和视频分类任务,我们使用自己的格式处理数据集,您可以使用 Tegu 图像标注软件,和 Tegu 视频标注软件 来制作数据集。
对于图像检测和视频分类的数据处理及标注,我们提供了 Tegu 图像标注软件,和 Tegu 视频标注软件
泛化智能 Generalized Intelligence 出品。 本项目通过 BSD 3-Clause 协议发布,详情见 LICENSE。
请参阅 CONTRIBUTING.md
| Back | FazBrowse Home | New Git URL |