Facing issues when downloading prog assignment files

Hi! I’m trying to download the files from programming assignments and I’m facing the following issues. It looks like some files are corrupted/broken, mostly h5 files with data or model parameters (see the screenshot 1).

They are not being dowloaded. When I open it in Jupyter Notebook interface, it shows the error “the file is not UTF-8 encoded”, whatever it means (see the screenshot 2)


UPD: this error message is not informative: it appears whenever I try to open a file that cannot be opened from Jupyter interface.

For example, from Week 4 Assignment 1 I have the following files undownloadable:
/W4A1/datasets/ train_face.h5
/W4A1/keras-facenet-h5/model.h5
/W4A1/nn4.small2.v7.h5

The are others from other assignments.

I tried refreshing the workspace, it didn’t help. How can I download them? Is it an AWS issue?

A h5 file cannot be opened on jupyter as its not a .py file, but you can possibly opwn then in some other way.

Check this link for more info on h5 files:

https://filext.com/file-extension/H5#:~:text=You%20need%20a%20suitable%20software,or%20long-press%20the%20file.

Well… the issue is that I can’t download these files. The error message when I try to open them is just an indication that something is wrong

Looks like the error message on the Screenshot 2 in my original post appears regardless. Disregard it.

So the issue is that I cannot download certain h5, mat, and even some video files that show incorrect file size and modification date.

And I cannot attach a screenshot for some reason…

I tried to download them, seems to be fine:

How about the file resnet50.h5 from W2A1?

After I press Download, nothing happens

Also, if I put all the files into a tar archive and download it, these ‘problematic’ files get downloaded as aliases, not as real files.

Downloading the files individually is not recommended. And it’s too much work as well. Here’s a thread that explains how to download them “in bulk” as a zip file. That thread was referenced on the DLS FAQ Thread which is also worth a look if that is news to you.

Yep, that’s because of file sizes. In my case files >10Mb are not displayed properly and my browser (Safari) doesn’t start their download.

Thanks, paulinpaloalto. Somehow I already figured this way on my own :slight_smile: