Comments (8)
已经根据博主的其他问题回答解决,成功在windows编译。
from r3det_tensorflow.
已经根据博主的其他问题回答解决,成功在windows编译。
请问其他问题的回答是哪个,可以指路一下吗
from r3det_tensorflow.
DetectionTeamUCAS/RetinaNet_Tensorflow_Rotation#50
不能直接用,得稍微修改一下。
from r3det_tensorflow.
你是直接用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.
from r3det_tensorflow.
修改还是修改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.
from r3det_tensorflow.
python=3.6.5 tf=1.15
from r3det_tensorflow.
Related Issues (20)
- 使用DOTA_DEVKIT生成数据量的问题. HOT 3
- I have problems training with my own data. HOT 1
- test_dota_r3det_ms.py 没检测结果 HOT 11
- where should i put DOTA data set???
- Performance issues in libs/networks/efficientnet/utils.py(P2)
- Performance issue in the definition of libs/networks/efficientnet/condconget_condconv_initializer, v/condconv_layers.py(P1) HOT 1
- Performance issue in libs/networks/efficientnet/ (by P3) HOT 1
- Retinanet-H/R with MobilenetV2 backbone train issue
- Tflite conversion issue......
- 请问有测试map的代码吗
- loss nan problem
- 关于复现的问题 HOT 6
- what does "lr schd" mean? HOT 2
- 关于论文中红绿灯检测的是如何训练的呢?我使用Retinanet作为 base model训练出来的效果并不理想 HOT 2
- redundant inference in the sliding window of test_dota HOT 1
- error: command '/usr/bin/gcc' failed with exit code 1 make: *** [Makefile:2:all] 错误 1
- 关于特征图重构的问题
- 没有找到相应文件(Can not find such document)
- 不知道除了什么问题,运行到这里卡住了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r3det_tensorflow.