Skip to content

Commit

Permalink
remove the use of dataflow
Browse files Browse the repository at this point in the history
  • Loading branch information
w-hc committed Aug 13, 2020
1 parent 87135fc commit 1dd9826
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fabric/io/lmdb_tools.py
Expand Up @@ -20,14 +20,16 @@
2. There should be a language neutral way to store bytes value unmodified,
rather than wrapping bytes further in the pickle layer.
"""
import logging
from pathlib import Path
import io
import platform
import lmdb
import pickle
from PIL import Image
from tqdm import tqdm
from dataflow.utils import logger # TODO: add a consistent logger for fabric itself
# from dataflow.utils import logger # TODO: add a consistent logger for fabric itself
logger = logging.getLogger(__name__)

dumps = lambda x: pickle.dumps(x, protocol=pickle.HIGHEST_PROTOCOL)
# loads = pickle.loads
Expand Down

0 comments on commit 1dd9826

Please sign in to comment.