athaddius / STIRMetrics

Metric Evaluation for Models on STIR
MIT License
4 stars 1 forks source link

file not found: raft_pointtrackSTIR/version #7

Closed MichaelWangGo closed 3 months ago

MichaelWangGo commented 3 months ago

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?

MichaelWangGo commented 3 months ago

I got it. raft only works for flow3d