Giter Site home page Giter Site logo

Comments (8)

jiangfeizi avatar jiangfeizi commented on June 16, 2024

已经根据博主的其他问题回答解决,成功在windows编译。

from r3det_tensorflow.

daili650 avatar daili650 commented on June 16, 2024

已经根据博主的其他问题回答解决,成功在windows编译。

请问其他问题的回答是哪个,可以指路一下吗

from r3det_tensorflow.

jiangfeizi avatar jiangfeizi commented on June 16, 2024

DetectionTeamUCAS/RetinaNet_Tensorflow_Rotation#50

不能直接用,得稍微修改一下。

from r3det_tensorflow.

daili650 avatar daili650 commented on June 16, 2024

你是直接用multi_gpu_train_win.py运行,还是修改setup.py文件?我用第一种方法提示错误:
Traceback (most recent call last):
File "multi_gpu_train_win.py", line 365, in
train()
File "multi_gpu_train_win.py", line 213, in train
gpu_id=i)
File "..\libs\networks\build_whole_network_win.py", line 240, in build_whole_detection_network
if cfgs.REG_LOSS_MODE == 0:
AttributeError: module 'libs.configs.cfgs' has no attribute 'REG_LOSS_MODE'

from r3det_tensorflow.

jiangfeizi avatar jiangfeizi commented on June 16, 2024

from r3det_tensorflow.

daili650 avatar daili650 commented on June 16, 2024

修改还是修改setup.py文件

------------------ 原始邮件 ------------------ 发件人: "Thinklab-SJTU/R3Det_Tensorflow" @.>; 发送时间: 2021年9月24日(星期五) 下午3:23 @.>; @.>;"State @.>; 主题: Re: [Thinklab-SJTU/R3Det_Tensorflow] window训练代码和linux训练代码为什么不同? (#133) 你是直接用multi_gpu_train_win.py运行,还是修改setup.py文件?我用第一种方法提示错误: Traceback (most recent call last): File "multi_gpu_train_win.py", line 365, in train() File "multi_gpu_train_win.py", line 213, in train gpu_id=i) File "..\libs\networks\build_whole_network_win.py", line 240, in build_whole_detection_network if cfgs.REG_LOSS_MODE == 0: AttributeError: module 'libs.configs.cfgs' has no attribute 'REG_LOSS_MODE' — You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

修改setup.py,也出现了链接中的问题:
d:\anaconda\envs\r3det_tf\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
bbox.c(1684): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(1693): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(2374): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(2383): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(3056): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(3065): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(3692): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(3701): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(4536): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(4545): warning C4244: “=”: 从“npy_intp”转换到“unsigned int”,可能丢失数据
bbox.c(9439): error C2039: “exc_type”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9440): error C2039: “exc_value”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9441): error C2039: “exc_traceback”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9448): error C2039: “exc_type”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9449): error C2039: “exc_value”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9450): error C2039: “exc_traceback”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9451): error C2039: “exc_type”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9452): error C2039: “exc_value”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9453): error C2039: “exc_traceback”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9508): error C2039: “exc_type”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9509): error C2039: “exc_value”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9510): error C2039: “exc_traceback”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9511): error C2039: “exc_type”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9512): error C2039: “exc_value”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9513): error C2039: “exc_traceback”: 不是“_ts”的成员
d:\anaconda\envs\r3det_tf\include\pystate.h(212): note: 参见“_ts”的声明
bbox.c(9893): warning C4244: “初始化”: 从“double”转换到“float”,可能丢失数据
bbox.c(9899): warning C4244: “初始化”: 从“double”转换到“float”,可能丢失数据
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe' failed with exit status 2

from r3det_tensorflow.

jiangfeizi avatar jiangfeizi commented on June 16, 2024

from r3det_tensorflow.

jiangfeizi avatar jiangfeizi commented on June 16, 2024

python=3.6.5 tf=1.15

from r3det_tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.