Closed AcodeC closed 5 years ago
Hi,
Thanks for using the framwork. Could you please provide the following details regarding the issue:
Which model config are you using? Did you modify the paths in it? What is your system config? How should I reproduce the issue?
Hi,
Thanks for using the framwork. Could you please provide the following details regarding the issue:
Which model config are you using? Did you modify the paths in it? What is your system config? How should I reproduce the issue?
i installed pytorch 1.2 and pyslowfast, Could you see what is wrong with me?
The framework is actually built on PyTorch 1.3 (also mentioned in the pre-requisites), I believe even the PySlowFast framework has that requirement (https://github.com/facebookresearch/SlowFast/blob/master/INSTALL.md). Could you install the latest Pytorch, rebuild PySlowFast and then try executing the code? Also don't forget to download and setup the pre-trained weights.
I do download download and setup the pre-trained weights, SLOWFAST_8x8_R50.pkl , But i will try install Pytorch 1.3. And I guess it is not the Pytorch Version problems.Because I build PySlowFast projerct successfully. Now I retry and later I report the result.
Thank you for the confirmation. If you look at the error, it is thrown by the PyTorch module. Please note, there might differences in the methods between different versions. So even if your code builds, there would be runtime errors when the method is actually called. Please let me know once you try out Pytorch 1.3
Thank you for the confirmation. If you look at the error, it is thrown by the PyTorch module. Please note, there might differences in the methods between different version. So even your code builds, there would be runtime errors when the method is actually called. Please let me know once you try out Pytorch 1.3
Traceback (most recent call last):
File "run_net.py", line 128, in
maybe the code in the run_net.py has some problem.Have you check that?
Unfortunately, this is not something I can test as I only have one Gpu to work with. However the problem is not about setting the number of gpus but rather variable assignment in the run_net.py. Since we only want to extract the features, the labels are not returned by the dataloader. I can change this later on and push a commit. Meanwhile, feel free to correct it and test it out.
I am closing this issue as the Pytorch version problem is solved.
When I config my code as you said,I meet a TypeError:
Traceback (most recent call last): File "run_net.py", line 131, in
main()
File "run_net.py", line 127, in main
test(cfg=cfg)
File "/media/acodec/media/code/slowfast_feature_extractor/test_net.py", line 90, in test
model = model_builder.build_model(cfg)
File "/media/acodec/media/code/slowfast_feature_extractor/models/model_builder.py", line 34, in build_model
model = _MODEL_TYPEScfg.MODEL.ARCH
File "/media/acodec/media/code/slowfast_feature_extractor/models/video_model_builder.py", line 146, in init
self._construct_network(cfg)
File "/media/acodec/media/code/slowfast_feature_extractor/models/video_model_builder.py", line 211, in _construct_network
trans_func_name=cfg.RESNET.TRANS_FUNC,
File "/media/acodec/media/code/slowfast/slowfast/models/resnet_helper.py", line 390, in init
super(ResStage, self).init()
File "/home/acodec/anaconda2/envs/python3_pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 72, in init
self._construct()
TypeError: _construct() missing 10 required positional arguments: 'dim_in', 'dim_out', 'stride', 'dim_inner', 'num_groups', 'trans_func_name', 'stride_1x1', 'inplace_relu', 'nonlocal_inds', and 'instantiation'
What is wrong? How do i get rid of this problem?