jhqxxx

Results 4 comments of jhqxxx

body_model.py 177-179: # self.num_pca_comps = kwargs['num_pca_comps'] # self.use_pca = kwargs['use_pca'] # self.use_flat_mean = kwargs['use_flat_mean'] self.num_pca_comps = 6 self.use_pca = True self.use_flat_mean = True

Is there a stable diffusionv1 installation library in your python environment, and the code in that library is referenced at runtime, so an error is reported, try pip uninstall latent-diffusion

after uninstall, need reinstall this project, pip install -e .

cmake_minimum_required(VERSION 3.9) project(infer) enable_language(CUDA) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CUDA_STANDARD 11) aux_source_directory(src SRC_LIST) include_directories(src) find_package(OpenCV) include_directories(${OpenCV_INCLUDE_DIRS}) find_package(CUDA REQUIRED) include_directories(${CUDA_INCLUDE_DIRS}) set(TensorRT_ROOT_DIR /usr/local/TensorRT-8.6.1.6) file(GLOB TensorRT_LIBRARY_DIR ${TensorRT_ROOT_DIR}/lib/*.so) set(TensorRT_INCLUDE_DIR ${TensorRT_ROOT_DIR}/include) include_directories(${TensorRT_INCLUDE_DIR}) add_executable(${PROJECT_NAME} ${SRC_LIST}) target_link_libraries(${PROJECT_NAME} ${TensorRT_LIBRARY_DIR} ${CUDA_LIBRARIES} ${OpenCV_LIBS})