Comments (4)
I created the datasets with IPython and I'm afraid I don't have the command history now. But creating a dataset could be done by following the following instructions.
Train and test your own datasets:* Create a directory
$ mkdir ./datasets/YOUR_DATASET
- Store your data as an h5py file datasets/YOUR_DATASET/data.hy and each data point contains
- 'image': has shape [h, w, c], where c is the number of channels (grayscale images: 1, color images: 3)
- 'pose': represented as a one-hot vector of a vector representing a 6DoF camera pose
- Maintain a list datasets/YOUR_DATASET/id.txt listing ids of all data points and split the list into train.txt and test.txt
- Modify trainer.py including args, data_info, etc.
- Implement a data loader like
./datasets/shapenet_car.py
and it under./datasets/
- Finally, train and test models:
$ python trainer.py --dataset YOUR_DATASET
$ python evaler.py --dataset YOUR_DATASET
Let me know if you still have a problem with your own dataset.
from multiview2novelview.
@shaohua0116 Thanks for your kind explanation ! I understand it now. But I have a few questions when I didn't understand reading your paper.
- When I checked the data inside the h5py file of KITTI dataset and ShapeNet dataset. I found that for each key image in the KITTI dataset, there are 3 inner key information: image, pose, and pose_matrix. But the in ShapeNet dataset, there are only 2 inner key information: image and pose. Can u explain why you need pose_matrix to train ?
- My second question is that: in case of KITTI dataset. I can see that pose is a vector representing 6DoF and pose_matrix is a 3x4 matrix. Would you mind telling me how did you obtain those values from KITTI dataset. I checked the guideline at this link https://s3.eu-central-1.amazonaws.com/avg-kitti/devkit_raw_data.zip and it said that I can get poses from GPS/IMU data. So I would like to ask is that the way you get those pose information ?
Thank you in advance !
from multiview2novelview.
Only the “pose” is used for training and testing. Each 6DoF pose vector in my KITTI dataset consists of a translation vector (x, y, z) and rotation. Pose vectors can be computed from pose 3x4 matrix, which is provided in the original KITTI dataset.
from multiview2novelview.
Thank you for your help ! I will try as your suggestion.
from multiview2novelview.
Related Issues (20)
- Supplementary material? HOT 2
- About Flow module HOT 8
- implementation of residual block HOT 1
- trainning problem HOT 2
- Aggregate output
- Evaluate model from checkpoints HOT 3
- The poses in the KITTI dataset
- something about normalization HOT 3
- About quantitative indicators and visualization results HOT 1
- The number of source images & tensorboard images
- Performance issue in the definition of build_loss, model.py(P1) HOT 1
- Can anyone tell me how much training time is needed after running the trainer.py script? I have a NVIDIA RTX A6000 GPU.
- load kitti checkpoint failed HOT 4
- Per-pixel confidence loss question HOT 1
- Implementing the code HOT 10
- about training steps HOT 7
- About your code HOT 1
- Foreground Mask HOT 4
- Batch Normalization 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 multiview2novelview.