mirror of
				https://github.com/PaddlePaddle/FastDeploy.git
				synced 2025-10-31 20:02:53 +08:00 
			
		
		
		
	 bd7caa17b8
			
		
	
	bd7caa17b8
	
	
	
		
			
			* Update README.md * Update README.md * Update README.md * Create README.md * Update README.md * Update README.md * Update README.md * Update README.md * Add evaluation calculate time and fix some bugs * Update classification __init__ * Move to ppseg * Add segmentation doc * Add PaddleClas infer.py * Update PaddleClas infer.py * Delete .infer.py.swp Co-authored-by: Jason <jiangjiajun@baidu.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			447 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			447 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| PROJECT(infer_demo C CXX)
 | |
| CMAKE_MINIMUM_REQUIRED (VERSION 3.12)
 | |
| 
 | |
| # 指定下载解压后的fastdeploy库路径
 | |
| option(FASTDEPLOY_INSTALL_DIR "Path of downloaded fastdeploy sdk.")
 | |
| 
 | |
| include(${FASTDEPLOY_INSTALL_DIR}/FastDeploy.cmake)
 | |
| 
 | |
| # 添加FastDeploy依赖头文件
 | |
| include_directories(${FASTDEPLOY_INCS})
 | |
| 
 | |
| add_executable(infer_demo ${PROJECT_SOURCE_DIR}/infer.cc)
 | |
| # 添加FastDeploy库依赖
 | |
| target_link_libraries(infer_demo ${FASTDEPLOY_LIBS})
 |