Skip to content

Commit

Permalink
Fix python UnicodeDecodeError on windows (#6277)
Browse files Browse the repository at this point in the history
  • Loading branch information
MisakaQwQ authored Jul 25, 2023
1 parent d569978 commit 179886d
Showing 1 changed file with 76 additions and 76 deletions.
152 changes: 76 additions & 76 deletions cpp/pybind/data/dataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -977,25 +977,25 @@ cloud, rgb sequence, clean depth sequence, noisy depth sequence, oni
sequence, and ground-truth camera trajectory.
RedwoodIndoorLivingRoom1
├── colors
│  ├── 00000.jpg
├── 00001.jpg
├── ...
└── 02869.jpg
├── depth
├── 00000.png
├── 00001.png
├── ...
└── 02869.png
├── depth_noisy
├── 00000.png
├── 00001.png
├── ...
└── 02869.png
├── dist-model.txt
├── livingroom1.oni
├── livingroom1-traj.txt
└── livingroom.ply
|-- colors
| |-- 00000.jpg
| |-- 00001.jpg
| |-- ...
| '-- 02869.jpg
|-- depth
| |-- 00000.png
| |-- 00001.png
| |-- ...
| '-- 02869.png
|-- depth_noisy
| |-- 00000.png
| |-- 00001.png
| |-- ...
| '-- 02869.png
|-- dist-model.txt
|-- livingroom1.oni
|-- livingroom1-traj.txt
'-- livingroom.ply
)doc");
dataset.def(py::init<const std::string&>(), "data_root"_a = "");
dataset.def_property_readonly("point_cloud_path",
Expand Down Expand Up @@ -1032,25 +1032,25 @@ cloud, rgb sequence, clean depth sequence, noisy depth sequence, oni
sequence, and ground-truth camera trajectory.
RedwoodIndoorLivingRoom2
├── colors
│  ├── 00000.jpg
├── 00001.jpg
├── ...
└── 02349.jpg
├── depth
├── 00000.png
├── 00001.png
├── ...
└── 02349.png
├── depth_noisy
├── 00000.png
├── 00001.png
├── ...
└── 02349.png
├── dist-model.txt
├── livingroom2.oni
├── livingroom2-traj.txt
└── livingroom.ply
|-- colors
| |-- 00000.jpg
| |-- 00001.jpg
| |-- ...
| '-- 02349.jpg
|-- depth
| |-- 00000.png
| |-- 00001.png
| |-- ...
| '-- 02349.png
|-- depth_noisy
| |-- 00000.png
| |-- 00001.png
| |-- ...
| '-- 02349.png
|-- dist-model.txt
|-- livingroom2.oni
|-- livingroom2-traj.txt
'-- livingroom.ply
)doc");
dataset.def(py::init<const std::string&>(), "data_root"_a = "");
dataset.def_property_readonly("point_cloud_path",
Expand Down Expand Up @@ -1086,25 +1086,25 @@ cloud, rgb sequence, clean depth sequence, noisy depth sequence, oni
sequence, and ground-truth camera trajectory.
RedwoodIndoorOffice1
├── colors
│  ├── 00000.jpg
├── 00001.jpg
├── ...
└── 02689.jpg
├── depth
├── 00000.png
├── 00001.png
├── ...
└── 02689.png
├── depth_noisy
├── 00000.png
├── 00001.png
├── ...
└── 02689.png
├── dist-model.txt
├── office1.oni
├── office1-traj.txt
└── office.ply
|-- colors
| |-- 00000.jpg
| |-- 00001.jpg
| |-- ...
| '-- 02689.jpg
|-- depth
| |-- 00000.png
| |-- 00001.png
| |-- ...
| '-- 02689.png
|-- depth_noisy
| |-- 00000.png
| |-- 00001.png
| |-- ...
| '-- 02689.png
|-- dist-model.txt
|-- office1.oni
|-- office1-traj.txt
'-- office.ply
)doc");
dataset.def(py::init<const std::string&>(), "data_root"_a = "");
dataset.def_property_readonly("point_cloud_path",
Expand Down Expand Up @@ -1139,25 +1139,25 @@ cloud, rgb sequence, clean depth sequence, noisy depth sequence, oni
sequence, and ground-truth camera trajectory.
RedwoodIndoorOffice2
├── colors
│  ├── 00000.jpg
├── 00001.jpg
├── ...
└── 02537.jpg
├── depth
├── 00000.png
├── 00001.png
├── ...
└── 02537.png
├── depth_noisy
├── 00000.png
├── 00001.png
├── ...
└── 02537.png
├── dist-model.txt
├── office2.oni
├── office2-traj.txt
└── office.ply
|-- colors
| |-- 00000.jpg
| |-- 00001.jpg
| |-- ...
| '-- 02537.jpg
|-- depth
| |-- 00000.png
| |-- 00001.png
| |-- ...
| '-- 02537.png
|-- depth_noisy
| |-- 00000.png
| |-- 00001.png
| |-- ...
| '-- 02537.png
|-- dist-model.txt
|-- office2.oni
|-- office2-traj.txt
'-- office.ply
)doc");
dataset.def(py::init<const std::string&>(), "data_root"_a = "");
dataset.def_property_readonly("point_cloud_path",
Expand Down

0 comments on commit 179886d

Please sign in to comment.