flowframes icon indicating copy to clipboard operation
flowframes copied to clipboard

Failed to download index file.

Open RelatedTitle opened this issue 3 years ago • 14 comments

I am trying to run the DAIN NCNN model, but I get the following error:

image

I have managed to run the RIFE NCNN model successfully, so I think it's an issue with this model specifically. I have not tried the CUDA models because I have an AMD GPU.

Here are the relevant logs:

[6117] [1-4-2022 12:17:42]: Downloading models...
[6118] [1-4-2022 12:17:42]: DownloadModelFiles(string ai = Flowframes.Data.AI, string model = best, bool log = True)
[6119] [1-4-2022 12:17:42]: Files for model best not valid: C:\Users\_____\AppData\Local\Flowframes\FlowframesData\pkgs\dain-ncnn\best does not exist or is incomplete.
[6120] [1-4-2022 12:17:42]: [UI] Downloading 'best' model files...
[6121] [1-4-2022 12:17:42]: Downloading 'https://dl.nmkd-cb.de/flowframes/mdl/dain-ncnn\best\files.json' to 'C:\Users\_____\AppData\Local\Flowframes\FlowframesData\pkgs\dain-ncnn\best\files.json'
[6122] [1-4-2022 12:17:42]: Download failed: The remote server returned an error: (404) Not Found.
[6123] [1-4-2022 12:17:43]: Downloaded 'files.json' (0 KB)
[6124] [1-4-2022 12:17:43]: Canceled.

It appears to be that the DAIN NCNN model isn't found on the server, maybe the URL is incorrect.

RelatedTitle avatar Jan 04 '22 18:01 RelatedTitle

Apparently switching to the hetzner server fixes it. https://dl.nmkd-hz.de/flowframes/mdl/dain-ncnn/best/files.json does not respond with a 404, while https://dl.nmkd-cb.de/flowframes/mdl/dain-ncnn/best/files.json does.

RelatedTitle avatar Jan 04 '22 18:01 RelatedTitle

Apparently switching to the hetzner server fixes it. https://dl.nmkd-hz.de/flowframes/mdl/dain-ncnn/best/files.json does not respond with a 404, while https://dl.nmkd-cb.de/flowframes/mdl/dain-ncnn/best/files.json does.

I am having the same issue could you help me fix it?

davionzxl avatar Jan 16 '22 18:01 davionzxl

@RelatedTitle

davionzxl avatar Jan 18 '22 02:01 davionzxl

I'm on my phone currently but I believe you should be able to just change the server and recompile. I was too lazy to do that though. I believe you should just be able to use a VPN that is geographically closer to the hetzner server (Which is in Germany I believe) and relaunch. I think there is also a config key to specify a custom server so you might want to try that as well. This is just a temporary fix though, because the underlying issue of the files not being available on the other server can only be fixed by the owner.

RelatedTitle avatar Jan 18 '22 02:01 RelatedTitle

Any suggested VPN's the one I tried did not work but I think because it is a chrome extension? Also how would you use the config key to fix this problem. @RelatedTitle

davionzxl avatar Jan 18 '22 03:01 davionzxl

@RelatedTitle

davionzxl avatar Jan 19 '22 23:01 davionzxl

Is it possible to manually download the files and place them in a folder before launching flowframes.exe?

noobtoob4lyfe avatar Aug 23 '22 17:08 noobtoob4lyfe

Is it possible to manually download the files and place them in a folder before launching flowframes.exe?

I thought it would never work but I found a way. First, you need to download the file that is not accessible with the current link. As @RelatedTitle wrote, you have to connect to the other server (hetzner).

https://dl.nmkd-hz.de/flowframes/mdl/dain-ncnn/best/files.json

Download that file, files.json, and overwrite the one you already have over here:

...\AppData\Local\Flowframes\FlowframesData\pkgs\dain-ncnn\best

Now, if you try to run it it still won't work but at least it will download invalid empty files and, I suppose, record the fact it did that somewhere.

Now, the last step to make this work, is to replace those empty files with the real ones. You can access them on the DAIN repository over here - you can simply download the Windows release version like I did.

https://github.com/nihui/dain-ncnn-vulkan/releases

Then, in the zip file you downloaded, you will find the files you need under this directory:

dain-ncnn-vulkan-20220728-windows\best

Now, try FlowFrames again, and it should work.

AugmentedRealityCat avatar Oct 22 '22 19:10 AugmentedRealityCat

Brothers, I still have this same issue, can't find any way to fix it...

DeltaGe avatar Apr 08 '23 12:04 DeltaGe

I found the problem and the solution. You have to run FlowFrames as an admin if you have installed in on Disk C:/ , that was all, it downlaods everything correctly now. Happy frame generation!

DeltaGe avatar Apr 08 '23 12:04 DeltaGe

I found the problem and the solution. You have to run FlowFrames as an admin if you have installed in on Disk C:/ , that was all, it downlaods everything correctly now. Happy frame generation!

I'm running in administrator mode, didn't work for me

ndlanier avatar Jul 13 '23 19:07 ndlanier

Change the server to Germany and it will work

qmarsn avatar Aug 31 '23 13:08 qmarsn

Is it possible to manually download the files and place them in a folder before launching flowframes.exe?

I thought it would never work but I found a way. First, you need to download the file that is not accessible with the current link. As @RelatedTitle wrote, you have to connect to the other server (hetzner).

https://dl.nmkd-hz.de/flowframes/mdl/dain-ncnn/best/files.json

Download that file, files.json, and overwrite the one you already have over here:

...\AppData\Local\Flowframes\FlowframesData\pkgs\dain-ncnn\best

Now, if you try to run it it still won't work but at least it will download invalid empty files and, I suppose, record the fact it did that somewhere.

Now, the last step to make this work, is to replace those empty files with the real ones. You can access them on the DAIN repository over here - you can simply download the Windows release version like I did.

https://github.com/nihui/dain-ncnn-vulkan/releases

Then, in the zip file you downloaded, you will find the files you need under this directory:

dain-ncnn-vulkan-20220728-windows\best

Now, try FlowFrames again, and it should work.

Yes, this method works.

zuiaiyutu avatar Oct 19 '23 15:10 zuiaiyutu