Comments (3)
from drenet.
你好呀@hotea1 ,
这个问题是因为400不是32的整数倍引起的。在DRENet网络中,feature map的长宽至多会缩小到原图的1/32(见Readme中的DRENet网络结构图),因此需要保证输入图像是32的整数倍。
你可以直接通过设置detect.py中的参数“--img-size”为32的整数倍来避免上述错误(例如设置为512),该设置会在你图像的边缘加入padding,因此不会改动你图像的空间分辨率(当然你也可以自行放缩图像到32的整数倍)。
此外,之前的detect.py需要做些许改动才能运行,我们更新了新的版本,请使用最新的detect.py文件。
如果觉得该方法有帮助的话,也可以给我们加:star:呀~
from drenet.
谢谢!已经能够运行了!
from drenet.
Related Issues (20)
- Error when doing inference using augmentation HOT 11
- Adapt for yolov5l6 HOT 6
- performance decrease during training HOT 1
- 运行detect.py出错,您好我把C3ResAtnMHSA加入了yolov7中,出现下面的错误 HOT 2
- DRENet model training on degraded images HOT 8
- Problems in the ConcatFusionFactor of common.py HOT 2
- RuntimeError: result type Float can't be cast to the desired output type long int HOT 2
- 实验 HOT 3
- detect报错 HOT 11
- detect.py HOT 9
- 关于测试标签 HOT 6
- 关于C3ResAtnMHSA模块的问题 HOT 2
- 关于concatFusionFactor的问题 HOT 2
- I cannot run DRENet. Because has a bug: RuntimeError: The size of tensor a (160) must match the size of tensor b (256) at non-singleton dimension 1 HOT 1
- Error Float in Int64 HOT 1
- 看文章中的一些疑问 HOT 16
- Cannot run detect.py HOT 2
- Modify the code for oriented bounding box HOT 2
- 在yolov5-5.0中只使用CRMA模块 HOT 7
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 drenet.