Giter Club home page Giter Club logo

Comments (4)

wvangansbeke avatar wvangansbeke commented on June 15, 2024

Hi @XiaotaoGuo,

I think it is better to download the whole dataset. I know it includes some files you don't need (like the LiDAR files) but it is the safest way. BTW, if you understand some bash you can do something like the code underneath to download all the files automatically. You can probably find better scripts on KITTI, but this should work:

cd '/train/folder or /validation/folder'
train_files=($(ls -d */ | sed 's#/##'))
echo ${files[@]}
Download_files ${train_files[@]}

function Download_files(){
	files=($@)
	for i in ${files[@]}; do
		if [ ${i:(-3)} != "zip" ]; then
				date="${i:0:10}"
				name=$(basename $i /)
				shortname=$name'.zip'
				fullname=$(basename $i _sync)'/'$name'.zip'
				echo 'shortname: '$shortname
		else
			echo 'Something went wrong. Input array names are probably not correct! Check this manually!'
		fi
		echo "Downloading: "$shortname
		wget 'https://s3.eu-central-1.amazonaws.com/avg-kitti/raw_data/'$fullname
		unzip -o $shortname
		rm -f $shortname
		mv $i'proj_depth' $date'/'$name
		rm -rf $name
	done
}

Kind regards,
Wouter

from sparse-depth-completion.

XiaotaoGuo avatar XiaotaoGuo commented on June 15, 2024

Thank you! Btw, once I downloaded the dataset, all I need to do is move the image_02 and image_03 folders to /data_depth_velodyne/rgb/. Is that right?

from sparse-depth-completion.

wvangansbeke avatar wvangansbeke commented on June 15, 2024

Hi @XiaotaoGuo,

I put the RGB files in a separate folder with the same subdirectories. I doesn't really matter of course. Just make sure you get the correct files.

FYI, my file structure looks like this:

|--depth selection
|-- Depth
       |-- train
              |--date
                   |--sequence1
                   | ...
       |--validation
|--RGB
       |--train
       |--validation

Kind regards,
Wouter

from sparse-depth-completion.

XiaotaoGuo avatar XiaotaoGuo commented on June 15, 2024

Thanks for the explanation!

from sparse-depth-completion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.