fix bcolz install bug

pull/1927/head
dongshuilong 2022-05-17 07:48:23 +00:00
parent 2a0ae60970
commit 511669a49a
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,5 @@
import os
import json
import bcolz
import numpy as np
from PIL import Image
import cv2
@ -215,6 +214,8 @@ def read_memmap(mem_file_name):
def get_val_pair(path, name, use_memfile=True):
# installing bcolz should set proxy to access internet
import bcolz
if use_memfile:
mem_file_dir = os.path.join(path, name, 'memfile')
mem_file_name = os.path.join(mem_file_dir, 'mem_file.dat')

View File

@ -9,5 +9,4 @@ scipy
scikit-learn==0.23.2
gast==0.3.3
faiss-cpu==1.7.1.post2
bcolz==1.2.1
scikit-learn==0.23.2