mit-han-lab / temporal-shift-module

[ICCV 2019] TSM: Temporal Shift Module for Efficient Video Understanding
https://arxiv.org/abs/1811.08383
MIT License
2.07k stars 417 forks source link

what(): CHECK failed: generated_database_->Add(encoded_file_descriptor, size): Aborted (core dumped) #180

Open MyungHwanSung opened 3 years ago

MyungHwanSung commented 3 years ago

I want to run online_demo but error happend

python3 main.py Open camera... <VideoCapture 0x7f2a27f2b0> Build transformer... /home/ice/.local/lib/python3.6/site-packages/torchvision-0.9.0-py3.6-linux-aarch64.egg/torchvision/transforms/transforms.py:286: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead. "please use transforms.Resize instead.") /home/ice/.local/lib/python3.6/site-packages/torchvision-0.9.0-py3.6-linux-aarch64.egg/torchvision/transforms/transforms.py:258: UserWarning: Argument interpolation should be of type InterpolationMode instead of int. Please, use InterpolationMode enum. "Argument interpolation should be of type InterpolationMode instead of int. " Build Executor... [libprotobuf ERROR google/protobuf/descriptor_database.cc:57] File already exists in database: onnx/onnx-ml.proto [libprotobuf FATAL google/protobuf/descriptor.cc:1164] CHECK failed: generateddatabase->Add(encoded_file_descriptor, size): terminate called after throwing an instance of 'google::protobuf::FatalException' what(): CHECK failed: generateddatabase->Add(encoded_file_descriptor, size): Aborted (core dumped)

How to solve?