Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Сухоросов Алексей committed Oct 14, 2021
1 parent 72e9c5e commit 9b6313c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto

*.sh text eol=crlf
3 changes: 2 additions & 1 deletion model_export/dump_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from tensorflow.core.framework import attr_value_pb2
from tensorflow.python.tools import optimize_for_inference_lib

import tf2xla_pb2

from . import tf2xla_pb2


def model_to_graph(
Expand Down
1 change: 1 addition & 0 deletions model_export/run_docker_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ docker run -it \
--rm \
--env HOME=`pwd` \
-v `pwd`:`pwd` \
--network host \
centos:centos7.8.2003 \
/bin/bash
3 changes: 2 additions & 1 deletion models/nn.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import tensorflow as tf

# DO NOT REMOVE. used by code inside eval()
import numpy as np # noqa: F401

custom_objects = {}

Expand Down

0 comments on commit 9b6313c

Please sign in to comment.