Comments (3)
@dLopes-SE @rjose97 Hello I plan to use network to train on my own dataset. I already have a dataset which contains RGB images,semantic labels images and RGBD images. I would like to know if I could create planes and plane normal for my own dataset and use it.
Any information is welcomed
Thanks in advance
from planercnn.
Hello @rjose97,
You should change ScanNet class in order to load your files and, instead of only loading one .npy file with all the planar equations in world coordinates (like PlaneRCNN does), you need to load a .npy or a .txt, in my case, for each frame.
Then you need to associate each segmentation to each plane, which is your question. You can do it with something like this:
newPlanes = []
newPlaneInfo = []
newSegmentation = np.full(segmentation.shape, fill_value=-1)
newIndex = 0
for oriIndex, count in segmentList:
# Non-planar label
if oriIndex == 0:
continue
# Case plane does not exist (due to an error in Matlab)
if np.amax(planes[oriIndex-1]) == 0:
continue
newPlanes.append(planes[oriIndex-1])
newSegmentation[segmentation == oriIndex] = newIndex
#newPlaneInfo.append(self.plane_info[oriIndex] + [oriIndex])
newIndex += 1
continue
segmentation = newSegmentation
planes = np.array(newPlanes)
plane_info = newPlaneInfo
Note: My data generator has an error is some unique frames, that's why I'm checking it.
I hope it was usefull, good luck.
Greetings,
Dylan Lopes, UC, Portugal.
from planercnn.
Thank you so much
from planercnn.
Related Issues (20)
- how can i get the normal of planes for each frame extracted from /scene_id/scene_id.sens? HOT 2
- Pretrained model links are not working HOT 3
- Nothing happened with nvcc HOT 6
- FileNotFoundError: [Errno 2] No such file or directory: '../../Data/ScanNet//scannetv2-labels.combined.tsv' HOT 5
- Pretrained model links are not working now HOT 2
- Torch summary on the model
- The ground truth provided by PlaneRCNN has large errors! HOT 2
- After training scannet from scratch while inferencing the trained model facing error HOT 1
- Plane parameter
- Unable to compile NMS and ROI-Align on RTX 3080 HOT 3
- Question about Training Data
- Docker image HOT 2
- Keep the order of original image files while detecting planes
- plane_XYZ coordinate system
- cuda 8.0 on Ubuntu 18.0.4
- Plane segmentation evaluation experiment on ScanNet
- Trained Models
- Problem on download of scannet plane annotation
- How to find the plane normal? HOT 1
- How to transfer module from 'pth' to βonnxβοΌ eg: checkpoint_refine.pth to checkpoint_refine.onnx
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 planercnn.