flowframes
flowframes copied to clipboard
Failed to download index file.
I am trying to run the DAIN NCNN model, but I get the following error:
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.
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.
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, whilehttps://dl.nmkd-cb.de/flowframes/mdl/dain-ncnn/best/files.json
does.
I am having the same issue could you help me fix it?
@RelatedTitle
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.
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
@RelatedTitle
Is it possible to manually download the files and place them in a folder before launching flowframes.exe?
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.
Brothers, I still have this same issue, can't find any way to fix it...
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 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
Change the server to Germany and it will work
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.