Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
__pycache__
dataset
runs
2 changes: 1 addition & 1 deletion common/load_data_hm36.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def __getitem__(self, index):
bb_box = np.array([0, 0, 1, 1])
input_2D_update = input_2D

scale = np.float(1.0)
scale = float(1.0)

return cam, gt_3D, input_2D_update, action, subject, scale, bb_box, cam_ind

Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def input_augmentation(input_2D, model):
lr = opt.lr
all_param += list(model.parameters())
optimizer = optim.Adam(all_param, lr=opt.lr, amsgrad=True)
scheduler = torch.optim.lr_scheduler.ReduceLROnPlateau(optimizer, 'min', factor=0.317, patience=5, verbose=True)
scheduler = torch.optim.lr_scheduler.ReduceLROnPlateau(optimizer, 'min', factor=0.317, patience=5)

for epoch in range(1, opt.nepoch):
if opt.train:
Expand Down
2 changes: 1 addition & 1 deletion model/Block.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import torch.nn as nn

from timm.data import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD
from timm.models.layers import DropPath
from timm.layers import DropPath
from model.GCN_conv import ModulatedGraphConv
from model.Transformer import Attention, Mlp

Expand Down
7 changes: 6 additions & 1 deletion requirement.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ timm
tensorboardX
scipy
filterpy
tqdm
tqdm
yacs
opencv-python
numba
scikit-image
IPython