Comments (9)
model.load_state_dict(checkpoint['state_dict'], strict=False) 解决问题
from semgcn.
model.load_state_dict(checkpoint['state_dict'], strict=False) 解决问题
您好,打扰您了,这行代码加到哪里运行呢,谢谢,感激不尽
@SuperAttitude
in viz.py line 106
model_pos.load_state_dict(ckpt['state_dict'], strict=False)
from semgcn.
model.load_state_dict(checkpoint['state_dict'], strict=False) 解决问题
您好,打扰您了,这行代码加到哪里运行呢,谢谢,感激不尽
@SuperAttitudein viz.py line 106
model_pos.load_state_dict(ckpt['state_dict'], strict=False)
Thank you, thank you for your help, sincerely wish you good luck.
from semgcn.
print("==> Loading checkpoint '{}'".format(ckpt_path))
ckpt = torch.load(ckpt_path)
start_epoch = ckpt['epoch']
error_best = ckpt['error']
glob_step = ckpt['step']
lr_now = ckpt['lr']
for k, v in ckpt['state_dict'].copy().items():
ckpt['state_dict'][k.replace('nonlocal', 'non_local')] = ckpt['state_dict'].pop(k)
model_pos.load_state_dict(ckpt['state_dict'])
Rename like this.
from semgcn.
same error
from semgcn.
Hi @Chromium97 ,
I guess you might be using Python 3.
Changing to Python 2 might solve this problem.
Best,
Long
from semgcn.
Hi @garyzhao
I was earlier using Python 3.6.x
but tried running the same thing with new virtual env for Python 2.7.18,
Giving the same error for last command, the other two are working okay just like above.
Any idea here?
Thanks
from semgcn.
model.load_state_dict(checkpoint['state_dict'], strict=False) 解决问题
您好,打扰您了,这行代码加到哪里运行呢,谢谢,感激不尽
from semgcn.
model.load_state_dict(checkpoint['state_dict'], strict=False) 解决问题
您好,打扰您了,这行代码加到哪里运行呢,谢谢,感激不尽
@SuperAttitudein viz.py line 106 model_pos.load_state_dict(ckpt['state_dict'], strict=False)
Sorry, but where is this viz located?py ? How to find it
from semgcn.
Related Issues (20)
- question
- 问题
- 问题
- 问题
- Concatenation operation in Non_local
- RuntimeError: mat1 dim 1 must match mat2 dim 0 HOT 1
- problem when running viz.py
- The correspondence between 2D joints and 3D joints
- The correspondence between 2D joints and 3D joints
- SemGCN&SemCHGCN&PG
- 3D关节点
- converting H36M to openpose
- Error value of each action HOT 1
- Questions about feature dimensions
- Different input output size
- Results about perceptual feature
- 关于输入的2D坐标的问题
- Assertion Error: assert poses_3d is not None
- 文中提到的ResGCN的pytorch代码
- Dataset deleted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semgcn.