sstzal/DFRF

process_data looking for track_params.pt

skunkwerk opened this issue · 2 comments

thank you for this code repository.

I was able to follow the instructions and tried to run
!sh process_data.sh cnn2_25fps

but I run into this error:
Traceback (most recent call last):
File "data_util/process_data.py", line 295, in
params_dict = torch.load(os.path.join(id_dir, 'track_params.pt'))
File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 594, in load
with _open_file_like(f, 'rb') as opened_file:
File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 230, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 211, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'dataset/cnn2_25fps/0/track_params.pt'

where would I find this model?

this is what the folder currently contains:
Screen Shot 2022-08-30 at 11 59 44 PM

track_params.pt is the result of preprocessing step 6. I guess you did not run step 6 successfully, which runs a face tracker.

track_params.pt is the result of preprocessing step 6. I guess you did not run step 6 successfully, which runs a face tracker.

Right.