You just need to use the CLI and add the corresponding parameters.
Can you check your logs? I suspect there is a bug where it is trying to download the same model with a different tile size. In your example the tile size is 1152x704, but each model has several other tile sizes. Usually, it will want to use a different tile size if the video resolution or upscale resolution changes, but in this case that may be the bug.
A small thing but i would like the Video AI app to start with a big window filling the screen.
Like Photo AI do on Mac.
=O)
It seems to try a few different tile sizes where it fails to download them then it uses the file that already existed and uses that and then previews it.
Iām currently testing with a 1920x1080 25 fps clip thatās 15 seconds long. I change the output to be 30 fps with Chronos Fast as the model. (edit: Iām a bit confused why it says āframesā:60 a bit further down - maybe for the log below it wasnāt done with the 15 sec clip as that shouldnāt have 60 frames - or maybe itās because it only previews a short segment of it, not the whole clip)
Thereās already a file called chf-v3-fp16-1152x704-ox.tz in the models folder (the only Chronos Fast one downloaded).
The first try of 2 times I tested very recently I pressed preview and it said ādownloading modā¦ā then after 4 mins 33 secs it had previewed it. I think most of that trying to download.
The log file says:
2023-02-20 21-18-38 Thread: 27236 Debug Updating video info {"sar":1,"framerate":30,"startNumber":1,"frames":60,"progress":0,"status":2,"frame":0,"procStatus":{"status":2,"eta":0,"fps":0,"message":" Downloading Model chf-v3-fp16-1088x1056-rt806-8500.tz","pass":1,"error":"","progress":0,"frame":0,"priority":3,"requestPos":0,"processorIndex":0}}
2023-02-20 21-18-38 Thread: 27236 Info OUT: 2 :AIINFO: Downloading Model chf-v3-fp16-1088x1056-rt806-8500.tz
2023-02-20 21-18-58 Thread: 27236 Info OUT: 2 2023-02-20 21-18-58,114 Thread: 26548 Info RESULT for https://veai-models.topazlabs.com /chf-v3-fp16-1088x1056-rt806-8500.tz is 0
2023-02-20 21-18-58,114 Thread: 26548 Critical Attempt 0 failed for https://veai-models.topazlabs.com /chf-v3-fp16-1088x1056-rt806-8500.tz
it tries to download that 2 more times (critical attempt 1 failed then critical attempt 2 failed)ā¦
More errors to do with that file.
then it tries another file:
2023-02-20 21-19-02 Thread: 27236 Debug Updating video info {"sar":1,"framerate":30,"startNumber":1,"frames":60,"progress":0,"status":2,"frame":0,"procStatus":{"status":2,"eta":0,"fps":0,"message":" Downloading Model chf-v3-fp16-1152x704-rt806-8500.tz","pass":1,"error":"","progress":0,"frame":0,"priority":3,"requestPos":0,"processorIndex":0}}
2023-02-20 21-19-02 Thread: 27236 Info OUT: 2 :AIINFO: Downloading Model chf-v3-fp16-1152x704-rt806-8500.tz
and that fails 3 times
then it fails to download https://veai-models.topazlabs.com /chf-v3-fp16-576x672-rt806-8500.tz
3 times
then it fails on https://veai-models.topazlabs.com /chf-v3-fp16-576x384-rt806-8500.tz
3 times
then fails on https://veai-models.topazlabs.com /chf-v3-fp16-384x672-rt806-8500.tz 3 times
then fails on https://veai-models.topazlabs.com /chf-v3-fp16-1152x1344-rt806-8500.tz 3 times
and it fails on some other resolution filesā¦
then eventually it loads the file that already exists in the model folder and uses that:
2023-02-20 21-23-06 Thread: 27236 Debug Updating video info
{"sar":1,"framerate":30,"startNumber":1,"frames":60,"progress":0,"status":2,"frame":0,"procStatus":{"status":2,"eta":0,"fps":0,"message":" Loading Model","pass":1,"error":"","progress":0,"frame":0,"priority":3,"requestPos":0,"processorIndex":0}}
2023-02-20 21-23-06 Thread: 27236 Info OUT: 2 2023-02-20 21-23-06,059 Thread: 26548 Info Loading filename "chf-v3-fp16-1152x704-ox.tz" "fp16-[H]x[W]-ox.tz" "tfinetr2/m_train"
then seems to preview it okay.
I hope the devs pay attention to this.
@yazi.saradest here are my logs from a similar crash after processing a DVD upscale, there were issues finding or resolving models, then it terminates and distroys the file. It appeared the video was converting fine, up until the finishing process. This was one of only a few applications running at the time, with 32GB ram, Mac Studio. It has been at least 4 or 5 beta versions from the last time I was getting these memory error crashes. Thanks.
2023-02-20 17-17-28 Thread: 0x103280580 Info OUT: 5 2023-02-20 17:17:28.569 ffmpeg[60796:1085879] Output Err: Error computing NN outputs.
2023-02-20 17:17:28.569 ffmpeg[60796:1085880] Output Err: Error computing NN outputs.
2023-02-20 17:17:28.569 ffmpeg[60796:1085878] Output Err: Error computing NN outputs.
2023-02-20 17:17:28.569 ffmpeg[60796:1085880] Deleting model cache directory: /Applications/Topaz Video AI BETA.app/Contents/Resources/models/coreMLCache/amqs-v2-fnet-fp16-576x672-1x-ml
2023-02-20 17:17:28.569 ffmpeg[60796:1085879] Deleting model cache directory: /Applications/Topaz Video AI BETA.app/Contents/Resources/models/coreMLCache/amqs-v2-gnet-fp16-576x672-1x-ml
2023-02-20 17:17:28.569 ffmpeg[60796:1085878] Deleting model cache directory: /Applications/Topaz Video AI BETA.app/Contents/Resources/models/coreMLCache/amqs-v2-fnet-fp16-576x672-1x-ml
2023-02-20 17:17:28.569 ffmpeg[60796:1085882] Output Err: Error computing NN outputs.
2023-02-20 17:17:28.569 ffmpeg[60796:1085882] Deleting model cache directory: /Applications/Topaz Video AI BETA.app/Contents/Resources/models/coreMLCache/amqs-v2-gnet-fp16-576x672-1x-ml
2023-02-20 17-17-28 Thread: 0x103280580 Info OUT: 5 2023-02-20 17:17:28.572 ffmpeg[60796:1085880] Output with name: fnet/output not found
2023-02-20 17-17-28,572 Thread: 0x2b48cb000 Critical Error debug information
2023-02-20 17-17-28,572 Thread: 0x2b48cb000 Critical Unable to run model with index 0 it had error:
2023-02-20 17:17:28.572 ffmpeg[60796:1085879] Output with name: generator/output not found
2023-02-20 17:17:28.572 ffmpeg[60796:1085878] Output with name: fnet/output not found
2023-02-20 17-17-28,572 Thread: 0x2b483f000 Critical Error debug information
2023-02-20 17-17-28,572 Thread: 0x2b47b3000 Critical Error debug information
2023-02-20 17-17-28,572 Thread: 0x2b483f000 Critical 2023-02-20 17:17:28.572 ffmpeg[60796:1085882] Output with name: generator/output not found
Unable to run model with index 1 it had error:
2023-02-20 17-17-28,572 Thread: 0x2b49e3000 Critical Error debug information
2023-02-20 17-17-28,572 Thread: 0x2b47b3000 Critical Unable to run model with index 0 it had error:
2023-02-20 17-17-28,572 Thread: 0x2b49e3000 Critical Unable to run model with index 1 it had error:
2023-02-20 17-17-28,573 Thread: 0x2b47b3000 Critical Caught exception in tile processing thread and stopped it msg: std::exception 1
2023-02-20 17-17-28,573 Thread: 0x2b49e3000 Critical Caught exception in tile processing thread and stopped it msg: std::exception 2
2023-02-20 17-17-28,573 Thread: 0x2b48cb000 Critical Caught exception in tile processing thread and stopped it msg: std::exception 2
2023-02-20 17-17-28,573 Thread: 0x2b483f000 Critical Caught exception in tile processing thread and stopped it msg: std::exception 2
libc++abi: terminating with uncaught exception of type std::__1::system_error: thread::join failed: Resource deadlock avoided
2023-02-20 17-17-28 Thread: 0x103280580 Debug passProcDone 0 5 5 6 1
2023-02-20 17-17-28 Thread: 0x103280580 Debug Updating video info {"sar":1,"framerate":23.976023976023978,"startNumber":1,"frames":127716,"progress":19,"status":0,"frame":24689,"procStatus":{"status":0,"eta":14097.587190782006,"fps":7.30713000875542,"message":"Out of memory","pass":1,"error":"- Process ran out of memory. Couldn't generate output from the model for: fnet/output.\n- Process ran out of memory.","progress":19,"frame":24689,"priority":3,"requestPos":3,"processorIndex":-1}}
2023-02-20 17-17-28 Thread: 0x103280580 Info Removing video "/Volumes/BlackWD2TB/Transmission 2TB/Weekend.At.Beernies.II.1993.DVD.BACKUP_amqs2_temp.mp4" 4
2023-02-20 17-17-28 Thread: 0x103280580 Info Close and delete path "/Volumes/BlackWD2TB/Transmission 2TB/Weekend.At.Beernies.II.1993.DVD.BACKUP_amqs2_temp.mp4"
2023-02-20 17-17-28 Thread: 0x103280580 Info EXITED: 5 6 1
2023-02-20 17-17-28 Thread: 0x103280580 Info ~TProcess(): destroyed
Topaz support today said:
It says this because it is continuously attempting to reach the server.
The models are not being downloaded at all. You will need to determine what is blocking the connection in order to resolve this unfortunately.
I wonder if itās anything to do with the spaces in the URLs that it shows in the logs.
eg. it says:
https://veai-models.topazlabs.com /apo-v6-fp32-1088x1056-ox.tz
Thatās got a space after ā.comā and before ā/ā. If I put that URL into the browser after removing the space that allows me to download it. If I donāt remove the space it doesnāt find it. So maybe itās failing because of the spaces. It seems I should be able to download the models manually this way by checking the errors in the log files. Iāll let support know in case thatās the reason (or maybe it isnāt because for most other people it seems to be downloading the files okay in the app). But at least I have a way to get it working now (though it will be a bit time consuming to get them all that way).
Thank you for reposting this. I must have missed that repose in the long threads.
I wonder if managing the Models in a different location than inside the app would be easier. And to allow downloading of entire model segments like we did before. This would allow for troubleshooting specific sets of models, and finding if a typo like a space in a file name easier to fix.
Iām loosing 6hr conversions because the says it āruns out of memoryā even though I have 28GB available, and a fiber internet connection. Letās fix this asap as a typo is a pain.