GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
import inspect import os import pickle import random import shutil import time from collections import OrderedDictimport numpy as np # torch import torch import torch.backends.cudnn as cudnn import torch.nn as nn import torch.optim as optim ...
# 模型静态推理 # 这里需要安装autolog # 终端运行下列命令 # git clone github.com/LDOUBLEV/Aut # cd AutoLog/ # pip3 install -r requirements.txt # python3 setup.py bdist_wheel # pip3 install ./dist/auto_log-1.2.0-py3-none-any.whl !python work/2s_AGCN/infer.py --data_file xview/...
论文:Actional-Structural Graph Convolutional Networks for Skeleton-based Action Recognition。 代码地址:https://github.com/lshiwjx/2s-AGCN。 主体的代码是借鉴ST-GCN的,可见model/agcn.py。 一、TCN部分的代码: classunit_tcn(nn.Module):def__init__(self,in_channels,out_channels,kernel_size=9,stride...
Two-Stream Adaptive Graph Convolutional Networks for Skeleton-Based Action Recognition in CVPR19 - lshiwjx/2s-AGCN
Code Pull requests Actions Projects Security Insights Additional navigation options Files master config data data_gen feeders graph model .gitignore LICENSE README.md ensemble.py main.py Breadcrumbs 2s-AGCN / Latest commit lshiwjx Init May 23, 2019 ...
import math import numpy as np import torch import torch.nn as nn from torch.autograd import Variable def import_class(name): components = name.split('.') mod = __import__(components[0]) for comp in components[1:]: mod = getattr(mod, comp) return mod def conv_branch_init(conv, br...
Start training from scratch. Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Assignees No one assigned Labels None yet Projects None yet Milestone No milestone Development No branches or pull requests 4 participants Footer...
hello when i run python main.py --config ./config/kinetics-skeleton/test_joint.yaml have this problem Traceback (most recent call last): File "main.py", line 577, in processor = Processor(arg) File "main.py", line 213, in init self.load_...
所以是以下這一段 parser.add_argument( '--num-worker', type=int, default=32, help='the number of worker for data loader') 把default 改掉,或是用 --num-worker = 0 對嗎? luohongwen123 <notifications@github.com> 於 2020年5月28日 週四 上午11:11寫道: …...