Comments (5)
It is to speed up processing.
If the object is really small it probably cannot be caught in the global step anyway. That being said you can still tune these thresholds for better results.
from cascadepsp.
I'm not sure if here is a little mistake. It seems that the choice value should be of 0, 1, 2 or 3. Thanks.
def get_random_structure(size):
choice = np.random.randint(4)
if choice == 1:
return cv2.getStructuringElement(cv2.MORPH_RECT, (size, size))
elif choice == 2:
return cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (size, size))
elif choice == 3:
return cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (size, size//2))
elif choice == 4:
return cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (size//2, size))
from cascadepsp.
Ah, it is a silly mistake. Thank you for pointing it out! ๐
Luckily it should not cause significant issues.
We will just leave it there and add a comment since our model is already trained with this bug.
from cascadepsp.
On second thought I will fix it and add a comment saying that the provided model is trained with the mentioned bug.
I have no idea how this silly bug can sneak into the code...
from cascadepsp.
Thanks! It doesn't matter. This is undoubtedly an outstanding work. Fixing this little bug would theoretically yield better performance.
from cascadepsp.
Related Issues (20)
- Error while running demo code!! HOT 4
- How to change epoch? HOT 3
- Segmentation Refinement Runtime Error HOT 11
- Train the Net HOT 4
- How to implement 'Local step' only? HOT 2
- how to solve this problem? HOT 2
- refinement is not a binary image HOT 1
- Can this method be used as post-processing for video object segmentation? HOT 2
- local step only HOT 4
- Help with Colab/local setup HOT 3
- Tree leaves boundary refinement HOT 5
- hashlib error HOT 1
- weight coefficient
- Very slow prediction, high cpu /gpu usage HOT 1
- Car Window Refinement
- Whether this model can be applied to Cityscapes datasets๏ผ HOT 1
- How to train PSPNet/DeepLabV3+ just as the result in your paper HOT 12
- Any low hanging fruit for generation speed improvements? HOT 2
- About the problem of dealing with redundant incomplete masks HOT 2
- Query Regarding High-Resolution Image Segmentation with CascadePSP HOT 1
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 cascadepsp.