当前位置: 首页 > ds >正文

Windows安装 cityflow

论文:

  1. Vehicle MTMC dataset – CityFlow: A City-Scale Benchmarkfor Multi-Target Multi-Camera Vehicle Tracking and Re-Identification

[1912.08855v1] Simulating Content Consistent Vehicle Datasets with Attribute Descent

  1. Synthetic 3D vehicle dataset – Simulating content consistent vehicle datasets with attribute descent

[2004.14619] The 4th AI City Challenge

Cityflow安装

Linux(Windows用户建议在Windows Subsystem For Linux(WSL)下运行CityFlow或使用docker)指导网址: Welcome to CityFlow’s documentation! — CityFlow 0.1 documentation

windows安装(annaconda+tensorflow):

不用自己下载GitHub上代码(可先装cmake,后面因未装报错了)

  1. Activate tensorflow(进入环境);
  2. Conda install git(若无git);
  3. git clone https://github.com/cityflow-project/CityFlow  (下载cityflow);
  4. Pip install . ;

没有装cmake报错:

pip install cmake;

继续安装cityflow报错:

查错误:Error: does not support platform specification ... when using setup.py. (Compiles with CUDA otherwise) · Issue #1333 · davisking/dlib · GitHub

下载Visual Studio 教程:【教程】Visual Studio2019安装教程 - 木子欢儿 - 博客园

其中要选择(若是没有选,进入卸载程序中修改)

继续pip install . 安装成功

备注 VS 2022 CMake4.0 后会报错 

Building for: Visual Studio 17 2022 CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

需要修改

修复 CMakeLists.txt 兼容性问题

修改项目中的 CMake 最低版本要求:

  1. 修改项目根目录的 CMakeLists.txtE:\LLL\S2R\UGAT-main\CityFlow-master\CityFlow\CMakeLists.txt):

    cmake

    # 将第一行改为
    cmake_minimum_required(VERSION 3.5)
    

  2. 修改 pybind11 的 CMakeLists.txtE:\LLL\S2R\UGAT-main\CityFlow-master\CityFlow\extern\pybind11\CMakeLists.txt):

    cmake

    # 将第8行改为
    cmake_minimum_required(VERSION 3.5)
    

  3. 修改 pybind11 工具文件E:\LLL\S2R\UGAT-main\CityFlow-master\CityFlow\extern\pybind11\tools\pybind11Tools.cmake):

    cmake

    # 将第8行改为
    cmake_minimum_required(VERSION 3.5)
    

http://www.xdnf.cn/news/12684.html

相关文章:

  • 超声波清洗设备的清洗效果如何?
  • Python 3.11.9 安装教程
  • 视频监控平台建设方案
  • 数据结构之LinkedList
  • RetroMAE 预训练任务
  • 字符串加密(华为OD)
  • Mathematica 打印输出时,隐藏 In[n] 和 Out[n] 标签
  • 【51单片机】1. 基础点灯大师
  • Splash动态渲染技术全解析:从基础到企业级应用(2025最新版)
  • echarts树状图与vue3
  • Kubernetes 从入门到精通-label标签
  • 山东大学算法设计与分析复习笔记
  • 多模态+空间智能:考拉悠然以AI+智慧灯杆,点亮城市治理新方式
  • C#实现Stdio通信方式的MCP Server
  • 高级网络工具包用户操作指南
  • Linux 中替换文件中的某个字符串
  • 如何调控gpu训练参数
  • 优选算法第十二讲:队列 + 宽搜 优先级队列
  • 深度学习在RNA分子动力学中的特征提取与应用指南
  • 每日互动方毅:数据要素价值在于流转,用好AI的前提是用好数据 | 爱分析访谈
  • [蓝桥杯]版本分支
  • AI 模型分类全解:特性与选择指南
  • 鸿蒙开发:loading动画的几种实现方式
  • 欧拉定理和费马定理
  • 人工智能会导致人类毁灭吗
  • 所有的Linux桌面环境
  • 从微积分到集合论(1630-1910)(历史简介)——第4章——现代积分理论的起源(Thomas Hawkins)
  • 13.MySQL用户管理
  • 【C/C++】不同防止头文件重复包含的措施
  • 【同数增位累加2+22+222+2222】2022-4-15