fix bcolz install bug
parent
2a0ae60970
commit
511669a49a
|
@ -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')
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue