Giter Club home page Giter Club logo

simplecv's Introduction

Parsing Our Earth Using CV and RS (114.3459, 30.5347)



simplecv's People

Contributors

z-zheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simplecv's Issues

About FarSeg

Hello, you have really done a good job! Congratulation! And would you please open the code about the paper 'Foreground-Aware Relation Network for Geospatial Object Segmentation in High Spatial Resolution Remote Sensing Imagery'? I am quite interested about your work. Thank you very much!

the function of "th_intersection_over_union_per_class" in metric.py

学长好!请问下
def th_intersection_over_union_per_class(y_true: torch.Tensor, y_pred: torch.Tensor, num_classes=None): cm_th = th_confusion_matrix(y_true, y_pred, num_classes) sum_over_row = cm_th.sum(dim=0) sum_over_col = cm_th.sum(dim=0) diag = cm_th.diag() denominator = sum_over_row + sum_over_col - diag iou_per_class = diag / denominator return iou_per_class
这一段的
sum_over_col = cm_th.sum(dim=0)
是不是有问题呀?
应该是
dim=1吧~

the function of "th_intersection_over_union_per_class" in metric.py

学长好!请问下
def th_intersection_over_union_per_class(y_true: torch.Tensor, y_pred: torch.Tensor, num_classes=None): cm_th = th_confusion_matrix(y_true, y_pred, num_classes) sum_over_row = cm_th.sum(dim=0) sum_over_col = cm_th.sum(dim=0) diag = cm_th.diag() denominator = sum_over_row + sum_over_col - diag iou_per_class = diag / denominator return iou_per_class
这一段的
sum_over_col = cm_th.sum(dim=0)
是不是有问题呀?
应该是
dim=1
不好意思刚不小心关闭了提问,重新发一下~

the function of "sub_minibatch" in test dict

image
data=dict( train=dict( type='NewPaviaLoader', params=dict( training=True, num_workers=0, image_mat_path='PU_gyh.mat', gt_mat_path='PU_gt.mat', num_train_samples_per_class=30, sub_minibatch=20 ) ), test=dict( type='NewPaviaLoader', params=dict( training=False, num_workers=0, image_mat_path='PU_gyh.mat', gt_mat_path='PU_gt.mat', num_train_samples_per_class=30, sub_minibatch=20 ) ) ),
When I try to adjust the sub_minibatch parameter to test the effect of "GS2 sampling strategy", I found that Houston can also converge and get 83% OA without GS2 sampling strategy.
And I found that when I adjust the "sub_minibatch" in train dict, the effect on accuracy is small, but the "sub_minibatch" in test dict have great effect on accuracy.
Could you please tell me what's the function of "sub_minibatch" in test dict? Cuase I think there is no need to set minibatch in the test process.
Thank you very much!!!

Detailed user manuals required

Excellent work from RS-IDEA 😁 Actually, considering all the well maintained codes and carefully designed data structures, I've noticed that the document appears no exhaustive, though concise enough. Hence, is it possible to add Wiki or some more detailed manuals for the convenience of users?

BTW, a dead link reported here:
The link to USAGE.md in README.md actually directs to a Not Found page.

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.