yangxue0827 / r2cnn_head_fpn_tensorflow Goto Github PK
View Code? Open in Web Editor NEWPosition Detection and Direction Prediction for Arbitrary-Oriented Ships via Multiscale Rotation Region Convolutional Neural Network
Position Detection and Direction Prediction for Arbitrary-Oriented Ships via Multiscale Rotation Region Convolutional Neural Network
Could you also share SRSS dataset?
Adaptive ROI Align was seen in the paper, but I can not find it in the code, Can you share your code of Adaptive ROI Align?
Thank you for you great work and ideas. I would like to try this repo on my own satellite images. However since I don't get good utilization by passing images one by one in inference.py I decided to inference by batches. Initially I added one dimension to the image placeholder:
img_plac = tf.placeholder(shape=[None, None, 3], dtype=tf.uint8
Can you please guide me through this process because I am not familiar with tensorflow semantics
@yangJirui @yangxue0827 Hi,
I can not find io folder and inference.py
training and inference procedure cannot be done without them.
there is no sample of annotations as well.
head_x = (x_0 +x_1)/2
head_y = (y_0 + y_1) / 2
是这样计算的吗???
你好,感谢你的代码,让我学到了许多。 有个问题就是关于图像的head_x,head_y数据的标签,没有找到,需要我们自己标吗?
Thank you for you great work and ideas. I would like to try this repo on my own satellite images. However since I don't get good utilization by passing images one by one in inference.py I decided to inference by batches. Initially I added one dimension to the image placeholder:
img_plac = tf.placeholder(shape=[None, None, None, 3], dtype=tf.uint8)
And created a batch of images before feeding session.run
feed_dict={img_plac: IMG_BATCH}
I also changed the batch size in the config, and the preprocesding code that resizes the image to take.batch into account.
The error message i get with batch_size=8 is:
InvalidArgumentError: Incompatible shapes: [1964160] vs. [245520]
[[Node: rpn_proposals/decode/mul = Mul[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](rpn_proposals/decode/truediv, rpn_proposals/decode/sub)]]
Can you please guide me through this process because I am not familiar with tensorflow semantics? Thank you very much once more
docker run --rm --name tfgpu -p 5552:5552 --gpus all -it -v /Data/share:/Data/share yangxue2docker/tensorflow3_gpu_cv2_sshd:v1.0 /bin/bash
In the clonned repo
cd tools
python3 inference.py
Get this error:
root@27260403fc95:/scratch/MDA000_BOAT00/DEVELOPMENT/USER_WORKSPACE/pgalles/R2CNN_HEAD_FPN_Tensorflow/tools# python inference.py
Traceback (most recent call last):
File "inference.py", line 17, in <module>
from libs.fast_rcnn import build_fast_rcnn
File "../libs/fast_rcnn/build_fast_rcnn.py", line 13, in <module>
from libs.box_utils import nms_rotate
File "../libs/box_utils/nms_rotate.py", line 12, in <module>
from libs.box_utils.rotate_polygon_nms import rotate_gpu_nms
ImportError: dynamic module does not define module export function (PyInit_rotate_polygon_nms)
I am not sure. Am I missing some steps?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.