Skip to content

Commit 034d8ac

Browse files
author
Johannes Ballé
committed
Workaround for range coder op, and fixed path to Keras (changed upstream).
1 parent e91a23e commit 034d8ac

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

compression/python/layers/entropybottleneck.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
from __future__ import division
2020
from __future__ import print_function
2121

22-
from compression.python.ops import coder_ops
22+
# TODO(jonycgn,nmjohn): revert to using this implementation once we figure out
23+
# why the nightlies don't work.
24+
# from compression.python.ops import coder_ops
25+
from tensorflow.contrib.coder.python.ops import coder_ops
2326

2427
import numpy as np
2528

@@ -28,7 +31,7 @@
2831
from tensorflow.python.framework import dtypes
2932
from tensorflow.python.framework import ops
3033
from tensorflow.python.framework import tensor_shape
31-
from tensorflow.python.keras._impl.keras import engine
34+
from tensorflow.python.keras import engine
3235
from tensorflow.python.ops import array_ops
3336
from tensorflow.python.ops import functional_ops
3437
from tensorflow.python.ops import init_ops

0 commit comments

Comments
 (0)