demo
I I set up the environment according to your requirements and have generated 000821_feature. npz file, but I still can't generate the subsequent file, it keeps reporting this error, I want to know what is the cause of this problem.
Run accident inference...
Traceback (most recent call last):
File "demo.py", line 354, in
@wangzhipeng2020 It looks like your torch_geometric package was not properly installed. My previous experience is that most of the following packages are mutually dependent. So, I recommend you to check the versions of these packages to see if they are exactly the same as the followings.
torch==1.2.0
torchvision==0.4.0
torch_geometric==1.3.2
torch_scatter==1.4.0
torch_cluster==1.4.5
torch_sparse==0.4.3
@Cogito2012, in readme it states 'Python=3.7.4 and PyTorch=1.0.0 with CUDA=10.0.130 and cuDNN=7.6.3' but requirements file has torch 1.2.0 and torch_scatter 1.4.0 seems to require torch 1.4.0, how to deal with this pls help.
@pradheepram I'm not sure what's going on...Actually, I prefer to recommend you fully uninstall pytorch and torch-geometric from your python env, then follow the latest torch_geometric installation: https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html. Some of the APIs may have changed, but it deserves to have a try for future research.
Alternatively, you can also replace the GCN module with the code from this repo: https://github.com/meliketoy/graph-cnn.pytorch, which is purely based on pytorch without the 3rd lib.
@Cogito2012 I still cannot solve my problem. It sames that the code is based on cpu, however, we build the gpu environment.
@Cogito2012
i'm trying to just extract features from a single video as a feature file
the from mmdet.apis import init_detector, inference_detector seems to not work, i think it could be because the mmdet is latest, which version of mmdet are you using.
@Cogito2012
i'm trying to just extract features from a single video as a feature file
the
from mmdet.apis import init_detector, inference_detectorseems to not work, i think it could be because the mmdet is latest, which version of mmdet are you using.
I was using mmdet 1.1.0, see the README Line 73