Closed phongnhhn92 closed 3 years ago
If the counts.npy
is missing in the given directory, but the individual count_*.npy
are present, you can run the following Python code (change root_dir
to your dataset directory):
import numpy as np
from pathlib import Path
root_dir = Path('/your/path/to/training/Truck/dense/ibr3d_pw_0.50/')
count_paths = sorted(root_dir.glob("count_*.npy"))
counts = []
for count_path in count_paths:
count = np.load(count_path)
counts.append(count)
counts = np.array(counts)
np.save(root_dir / "counts.npy", counts)
It works ! Thanks
Hello, I am testing your model. However, it seems like I can not find the file counts.npy. I downloaded the preprocessed data from FVS and I can not find it also for each scene. Please help !