You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
limitation: designed for 6-digit frame numbers for file names, to adjust, modify str("%06d"%counter) and (outdir + '/{:06d}.png'.format(counter)) from default 6 to what your movie requires
TODO and near future plans:
improve tqdm representation to work in terms of fps not it/s - done
allow to specify digit count on the console
updated:
added functionality to operate on a specific range of frames
added error protection, now testing for existence of first/last frames
re-designed the progress bar
variable names friendly to programmer
The text was updated successfully, but these errors were encountered:
no need SSD/RAM drive, runs fast even on slow network drives Download
updated:
dynamic/adaptive image save/load balance to prevent IO competition between load thread and save thread
the mechanism prevents IO cross-loading and prioritizes image loading over image saving which increases GPU feeding, increases overall performance as it is a serial process
WARNING: the architecture of the code is based on the assumption that the GPU is the bottleneck in the process, the program may fail if the IO part of the code is slower than the GPU part :( (it is highly unlikely to happen in any real situation) at which time the problem would be uncontrolled spam of IO write threads
note: this optimization will benefit only slow storage systems like network drives, faster storage systems may see none to minimal increase in performance as their bandwidth and latency are good which would not (or minimally) slow the application
this update accelerated the framerate by 0.002 fps on my K40m which translates to ~071%
if your CPU is set to automatically adjust the frequency based on load, it is recommended to set affinity to this process to run on one specific core, this prevents "core tourism" and prevents core up/down clocking when not needed (the main thread of this project uses some CPU, on which the total performance depends)
tested on python 3.6/TF1.15.4
requirements: place the new test_opt.py into the directory of VSR-DUF
start inferencing:
where:
Download
limitation: designed for 6-digit frame numbers for file names, to adjust, modify str("%06d"%counter) and (outdir + '/{:06d}.png'.format(counter)) from default 6 to what your movie requires
TODO and near future plans:
improve tqdm representation to work in terms of fps not it/s - done
allow to specify digit count on the console
updated:
The text was updated successfully, but these errors were encountered: