Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
Fix lint errors in freeze_graph.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tommadams committed Oct 17, 2018
1 parent b24d17c commit aca8771
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion freeze_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Freeze a model to a GraphDef proto."""

from absl import app, flags

Expand All @@ -21,7 +22,8 @@
FLAGS = flags.FLAGS


def main(argv):
def main(unused_argv):
"""Freeze a model to a GraphDef proto."""
if FLAGS.use_tpu:
dual_net.freeze_graph_tpu(FLAGS.model_path)
else:
Expand Down

0 comments on commit aca8771

Please sign in to comment.