SIFU
SIFU copied to clipboard
Regarding the issue during testing
Hello, I would like to ask if it is not necessary to have the left and right normal maps of the SMPL model when testing with the CAPE dataset? I noticed that the dataset does not include them.
Do you have a backtrace, or a way we can reproduce this? This doesn't strike me as a Trilogy bug, but tough to help further without more information.
I experienced the same issue when used gem "activerecord-trilogy-adapter" in Rails 7.1 app (which does not need it and comes with built-in support for Trilogy).
Ah, we should probably add a < 7.1 constraint on activerecord-trilogy-adapter.
Unfortunately that'll just send Bundler to find the latest version that had the more open-ended dependency.
Best might be to explicitly check the Rails version and no-op in the Railtie?
That's a good point. Yeah, either no-op or raise/deprecate with a message about removing the gem.
Perhaps try using trilogy gem instead of activerecord-trilogy-adapter?
Rails v7.1+ includes Trilogy support by default making this gem unnecessary due as part of https://github.com/rails/rails/pull/47880.
I experienced the same issue when using this gem, and did not have the error once I switched over.