Reading 65^3 Iridas 3D LUT is incredibly slow.
See original GitHub issueIssue Description
First time using Colour. Trying to read loads of 65^3 .cube files in Jupyter notebook. It takes over 3 mins on the first one.
%time LUT = cs.io.read_LUT_IridasCube(luts[126])
CPU times: user 3min 20s, sys: 1.88 s, total: 3min 22s
Wall time: 3min 22s
to
table.append(tokens)
gives no difference to the result and computes faster
%time LUTfast = read_LUT_IridasCube(luts[126])
CPU times: user 633 ms, sys: 26.2 ms, total: 659 ms
Wall time: 661 ms
np.allclose(LUTfast.table, LUT.table)
True
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (11 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@lavrovd : @njwardhan’s PR #596 has been merged in the develop branch, so it should be up to full speed now! When you have a chance, let us know if it is fine, I’m assuming it is!