I want to download dataset of U-Net exercise(Course4-Week3) to work locally. But I am not able to find a way to download it, I also tried to download the sub folders CameraMask and CameraRGB , still no option to download , there are 1000s of images so selecting each and downloading will not be feasible .
Any one knows how to solve this issue, please help!
Youāll need to create a compound file with all the images. The Docker images include the linux tar command, so thatās the easiest way. You may end up with a tar file thatās too large to download in one shot, so you might also need the linux split command. The easiest way is either to add a new cell in the notebook and use ābang escapesā to execute shell commands as in:
!ls -ltr
Or you can click āFile ā Openā and then āNew ā Terminalā and that gives you a linux shell.
Great! Yes, those commands look like they should work. The only possible refinement would be to add a āāexcludeā to make sure you donāt end up tarring up part of the tar file itself:
As you probably already figured out, the reason the mask images show up as black is that they included the alpha channel for some reason. You can find the logic in the notebook to get the masks to render correctly.
I follow the instructions above and downloaded all the files. it generated 6 files that I downloaded them one by one and put them in one folder, then I tried to use 7-zip to combine them but when I choose the first file (ending with aa) and run ācombine fileā from the File menu, I get an error message that ācannot detect file as split fileā.
The point is that split has divided the tar file into a lot of pieces. You first need to reassemble them into a single file. Iām a linux/Mac person, so I would use this command:
cat file.parts.* > wholefile.tgz
With the appropriate name of the files that are output from split. I think the Windows equivalent of that would be:
Thanks for the feedback.
I finally managed to use 7-zip on windows to merge the files. I selected all files in windows explorer and then from 7-zip menu appearing with right click, chose Extract to ā*\ā.
Anyhow nice to know about the commands in windows doing that.