
Tensorflow
木材的才
这个作者很懒,什么都没留下…
展开
-
Tensorflow Object Detection API 源码分析之 model_main.py
Tensorflow Object Detection API 源码解析之 model_main.py# Train和Eval的主函数"""Binary to run train and evaluation on object detection model."""from __future__ import absolute_import原创 2018-08-15 15:36:06 · 6462 阅读 · 12 评论 -
Tensorflow Object Detection API 源码分析之 builders/graph_rewriter_builder.py
protos/graph_rewriter.protosyntax = "proto2";package object_detection.protos;// Message to configure graph rewriter for the tf graph.message GraphRewriter { optional Quantization quantization...原创 2018-08-16 22:47:38 · 841 阅读 · 0 评论 -
Tensorflow Object Detection API 源码分析之 utils/learning_schedules.py
# 学习率策略# 在 builders/optimizer_builder.py 中使用"""Library of common learning rate schedules."""import numpy as npimport tensorflow as tf# 指数衰减 tf.train.exponential_decaydef exponential_decay_wit..原创 2018-08-16 22:47:03 · 1228 阅读 · 1 评论 -
Tensorflow Object Detection API 源码分析之 builders/optimizer_builder.py
Tensorflow Object Detection API 源码分析之 builders/optimizer_builder.py# 有关优化器(optimizer)的辅助函数# model_lib.py 中使用build 函数,根据config创建一个optimizer"""Functions to build DetectionModel training optimizers....原创 2018-08-15 15:54:35 · 917 阅读 · 0 评论 -
Tensorflow Object Detection API 源码分析之 builders/model_builder.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved.## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in compliance with the License.# Y...原创 2018-08-15 15:44:47 · 2310 阅读 · 1 评论 -
Tensorflow Object Detection API 源码分析之 core/standard_fields.py
# 记录了检测的常用名?"""Contains classes specifying naming conventions used for object detection.Specifies: InputDataFields: standard fields used by reader/preprocessor/batcher. DetectionResultFields:...原创 2018-08-15 15:43:52 · 505 阅读 · 0 评论 -
Tensorflow Object Detection API 源码分析之 utils/visualization_utils.py
Tensorflow Object Detection API 源码分析之 utils/visualization_utils.py# 一系列可视化的函数# model_lib.py 中使用了 draw_side_by_side_evaluation_image()函数"""A set of functions that are used for visualization.The...原创 2018-08-15 15:43:17 · 2441 阅读 · 0 评论 -
Tensorflow Object Detection API 源码分析之 utils/variables_helper.py
Tensorflow Object Detection API 源码分析之 utils/variables_helper.py原创 2018-08-15 15:42:37 · 533 阅读 · 0 评论 -
Tensorflow Object Detection API 源码分析之 utils/shape_util.py
# 操作tensor形状的辅助函数# model_lib.py 中仅使用 combined_static_and_dynamic_shape 获取tensor_shape"""Utils used to manipulate tensor shapes."""import tensorflow as tf# 有4个函数 get_batch_s原创 2018-08-15 15:42:11 · 488 阅读 · 0 评论 -
Tensorflow Object Detection API 源码分析之 utils/label_map_util.py
Tensorflow Object Detection API 源码分析之 utils/label_map_util.pyprotos/string_int_label_map.proto syntax = "proto2";package object_detection.protos;message StringIntLabelMapItem { // String nam...原创 2018-08-15 15:41:44 · 4921 阅读 · 3 评论 -
Tensorflow Object Detection API 源码分析之 utils/config_util.py
Tensorflow Object Detection API 源码分析之 utils/config_util.py# 读取(和更新)配置文件"""Functions for reading and updating configuration files."""import osimport tensorflow as tffrom google.protobuf impor..原创 2018-08-15 15:40:43 · 2548 阅读 · 0 评论 -
Tensorflow Object Detection API 源码分析之 model_lib.py
Tensorflow Object Detection API 源码分析之 model_lib.pyr"""Constructs model, inputs, and training environment."""from __future__ import absolute_importfrom __future__ import divi原创 2018-08-15 15:39:14 · 2622 阅读 · 0 评论 -
Tensorflow Object Detection API 源码分析之 inputs.py
# input_fn 的生成函数所在地# model_lib.py中调用了下列函数# create_train_input_fn# create_eval_input_fn# create_predict_input_fn"""Model input function for tf-learn object detection model."""from __future__ im..原创 2018-08-16 22:48:02 · 870 阅读 · 1 评论