Timewarp ML issue

Hi,

I’m getting an issue with TimewarpML on Linux Flame 2025.
I have reinstalled and patched.

If I try to do a change in speed (not just a constant speed) and use “timewarp from flames TW effect” it gives the error message below.

Would anyone happen know a fix for this? :pray:

internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:85:in require': cannot load such file -- rexml/document (LoadError) from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in require’
from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/framecurve/extractors/xml_bridge.rb:1:in <top (required)>' from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in require’
from internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:85:in require' from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/framecurve/extractors/fcp_xml.rb:1:in <top (required)>’
from internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:85:in require' from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in require’
from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/framecurve.rb:8:in block in <top (required)>' from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/framecurve.rb:7:in each’
from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/framecurve.rb:7:in <top (required)>' from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in require’
from internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:85:in require' from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/timewarp_extractor.rb:2:in <top (required)>’
from internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:85:in require' from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in require’
from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/flame_channel_parser.rb:42:in block in <top (required)>' from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/flame_channel_parser.rb:42:in each’
from /home/ash/flameTimewarpML/bundle/flame_channel_parser/lib/flame_channel_parser.rb:42:in <top (required)>' from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in require’
from internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:85:in require' from /home/ash/flameTimewarpML/bundle/flame_channel_parser/bin/bake_flame_channel:13:in
can not find parsed channel file /var/tmp/60_SH04_004_TWML_2024MAY14_1151_C69/source/parsed_and_baked.txt
Press Enter to continue…

Last I knew the vary speed was in development and still somewhat experimental. What I have done in the past is slowed my footage way down with the conventional MLTW, then used that as the base for a vary speed, using the extra frames to help smooth it out.

2 Likes

Okay thanks for the reply, I’ll try that.

I’ve used it so much in the past and it’s worked really well, but maybe it’s something to do with 2025 and having to patch it.

I used it in the past also, but it stopped working for me in 2024

@stu Which version of TWML are you running? Try v0.4.4 if you’re not already. We use it for ramps all day long (although we are 2024 on Linux).

Yes I downloaded 0.4.4 with the patch that @ManChicken provided.
I’m on Linux 2025 so that’s probably the issue.

There’s 0.4.5 coming and it will work on 2025.

7 Likes

That’s great news, thanks @talosh
I really appreciate the time you put into this.

No problem , here it is to test: Flame Machine Learning Timewarp, now on Linux and Mac - #599 by talosh

@talosh That’s working on a 3090, thanks so much.

Even the Timwarp from flame tw works when I have a timewarp in speed mode.
In timing mode it’s doing strange backwards/forwards behaviour.

But that’s helped me a great deal.

Hi Stu, do you mind to send me your Timewarp setup that behaves strangely? The block that parses and interpolates Timewarp curves has been re-written and it would be nice to catch issues early. Batch setup or setup saved from Timewarp node should be enough, no media is needed.

Yes I will send you an archive.

Thanks

1 Like

Hello

We are having issues with Timewarp ML on flame 2024.1 and Rocky 8.7
The process just hangs forever. Any help would be appreciated.

the terminal log is:

[flameTimewarpML] creating folders: /var/tmp/edit_12_0822_24fps-CR_Subclip_001_TWML2_2024AUG23_2217_2A5/source

[flameTimewarpML] Executing command: gnome-terminal – /bin/bash -c 'eval “$(/home/ufurrer@int.pariahcreative.com/flameTimewarpML/miniconda3/bin/conda shell.bash hook)”; conda activate; cd /home/ufurrer@int.pariahcreative.com/flameTimewarpML/bundle; echo “Received 1 clip to process, press Ctrl+C to cancel”; trap exit SIGINT SIGTERM; python3 /home/ufurrer@int.pariahcreative.com/flameTimewarpML/bundle/command_wrapper.py /home/ufurrer@int.pariahcreative.com/flameTimewarpML/bundle/locks/025786BBB6EB2BEACB063ECC0E6D8BF6CD709EB6.lock; ’

[flameTimewarpML] Importing result from: /var/tmp/edit_12_0822_24fps-CR_Subclip_001_TWML2_2024AUG23_2217_2A5

[flameTimewarpML] Cleaning up temporary files used: [‘/var/tmp/edit_12_0822_24fps-CR_Subclip_001_TWML2_2024AUG23_2217_2A5/source’]

[flameTimewarpML] Executing command: rm -f “/var/tmp/edit_12_0822_24fps-CR_Subclip_001_TWML2_2024AUG23_2217_2A5/source/”*