Thank you very much answering my question! I met a new problem:
Traceback (most recent call last):
File "datatest/flow2d.py", line 205, in
end_estimates = trackanddisplay(
File "datatest/flow2d.py", line 98, in trackanddisplay
model = modeldict[modeltype]()
File "/workspace/STIRMetrics/src/datatest/raft.py", line 26, in init
self.tracker = torch.jit.load(TORCHSCRIPTFILE).to(self.device)
File "/root/miniconda3/envs/raft/lib/python3.8/site-packages/torch/jit/init.py", line 275, in load
cpp_module = torch._C.import_ir_module(cu, f, map_location, _extra_files)
RuntimeError: [enforce fail at inline_container.cc:209] . file not found: raft_pointtrackSTIR/version
I am sure that the path to raft_pointtrackSTIR.pt and other models is correct. What other reasons can cause this problem?
Thank you very much answering my question! I met a new problem:
Traceback (most recent call last): File "datatest/flow2d.py", line 205, in
end_estimates = trackanddisplay(
File "datatest/flow2d.py", line 98, in trackanddisplay
model = modeldict[modeltype]()
File "/workspace/STIRMetrics/src/datatest/raft.py", line 26, in init
self.tracker = torch.jit.load(TORCHSCRIPTFILE).to(self.device)
File "/root/miniconda3/envs/raft/lib/python3.8/site-packages/torch/jit/init.py", line 275, in load
cpp_module = torch._C.import_ir_module(cu, f, map_location, _extra_files)
RuntimeError: [enforce fail at inline_container.cc:209] . file not found: raft_pointtrackSTIR/version
I am sure that the path to raft_pointtrackSTIR.pt and other models is correct. What other reasons can cause this problem?