Closed ZachAR3 closed 1 year ago
the 0.10 branch has an ipynb file attached so you can PR to it - https://github.com/Sxela/WarpFusion/tree/v0.10-AGPL
the 0.10 branch has an ipynb file attached so you can PR to it - https://github.com/Sxela/WarpFusion/tree/v0.10-AGPL
Ah MB i will make a pr when I get a chance then!
I'm still a bit confused as if you make your env via provided *.bat or docker files, this repo gets cloned into the main warp project folder, thus the paths are correct
AH, a use case issue then. I cloned this repo and ran the prepare_env bat (well a shell adaptation for linux) from inside it. I will close the issue then since that's not an intended use case.
Thank you anyway!
When trying to run Generate optical flow and consistency maps I get an error about it being unable to find the raft_half.jit. This occurs because of the extra "/WarFusion/" in the beginning of the path in the script
This can be solved by just changing the raft model from being either:
raft_model = torch.jit.load(f'{root_dir}/WarpFusion/raft/raft_half.jit').eval()
toraft_model = torch.jit.load(f'{root_dir}/raft/raft_half.jit').eval()
and in the else from:
raft_model = torch.jit.load(f'{root_dir}/WarpFusion/raft/raft_fp32.jit').eval()
toraft_model = torch.jit.load(f'{root_dir}/raft/raft_fp32.jit').eval()
I am unsure whether this is a local issue, or if this is an actual issue with the script. Since the .ipynb file doesn't exist in the main repo, only in the releases I can't make a PR.