Comments (6)
The main problem is in this part
for windows it usually doenst work because the code is based onllinux commands, and not on python ones.
The easiest way it to make what @toyxyz says.
Also add the same "SMPL_NEUTRAL.pkl" to your "%HOMEPATH%.cache\4DHumans\data\smpl" folder
from 4d-humans.
Thanks folks! I don't have a windows machine to test but if someone wants to open a PR with these changes, I'd be happy to review and merge :)
from 4d-humans.
I have had success with detectron2 this way. : https://stackoverflow.com/a/72784255/22334744
And I needed to put SMPL_NEUTRAL.pkl into .cache\phalp\3D\models\smpl. https://github.com/sampepose/smpl_models/tree/master
from 4d-humans.
By any chance did you bump into this error ? ( before installing PHALP )
File "D:\My_project\4D-Humans\demo.py", line 167, in <module>
main()
File "D:\My_project\4D-Humans\demo.py", line 42, in main
from hmr2.utils.utils_detectron2 import DefaultPredictor_Lazy
File "D:\My_project\4D-Humans\hmr2\utils\utils_detectron2.py", line 1, in <module>
import detectron2.data.transforms as T
File "D:\anaconda3\envs\4D-humans\lib\site-packages\detectron2\data\__init__.py", line 2, in <module>
from . import transforms # isort:skip
File "D:\anaconda3\envs\4D-humans\lib\site-packages\detectron2\data\transforms\__init__.py", line 6, in <module>
from .augmentation_impl import *
File "D:\anaconda3\envs\4D-humans\lib\site-packages\detectron2\data\transforms\augmentation_impl.py", line 23, in <module>
from detectron2.structures import Boxes, pairwise_iou
File "D:\anaconda3\envs\4D-humans\lib\site-packages\detectron2\structures\__init__.py", line 3, in <module>
from .image_list import ImageList
File "D:\anaconda3\envs\4D-humans\lib\site-packages\detectron2\structures\image_list.py", line 8, in <module>
from detectron2.layers.wrappers import move_device_like, shapes_to_tensor
File "D:\anaconda3\envs\4D-humans\lib\site-packages\detectron2\layers\__init__.py", line 5, in <module>
from .nms import batched_nms, batched_nms_rotated, nms, nms_rotated
File "D:\anaconda3\envs\4D-humans\lib\site-packages\detectron2\layers\nms.py", line 25, in <module>
@torch.compiler.disable
AttributeError: module 'torch' has no attribute 'compiler'
from 4d-humans.
@hbardak I saw that problem, try to get an older version of detectron, maybe it will work.
from what I've read, the compiler option is available only on torch2.0 upwards
from 4d-humans.
It took me sweat and blood to compile detectron2 :-) Following your instruction on #36
Any ideas which version I should build ?
from 4d-humans.
Related Issues (20)
- How to create .pyd files for my dataset?
- Issue about dataset used for training HMR2a HOT 1
- (ddp) multi gpu training error: unused parameters HOT 4
- pose_transformer_v2 (BERT style transformer) use while running model on video HOT 3
- How much gpu memory do we need ? HOT 1
- Missing output files HOT 6
- model_config.yaml missing HOT 4
- patreon blender tutorial is broken HOT 1
- No OpenGL_accelerate module loaded: No module HOT 2
- the effect of running tracking was not good HOT 1
- [MISSING FILE] SMPL_NEUTRAL.pkl HOT 1
- DDP has slower training speed
- perspective projection HOT 5
- After testing, I found out the code work when `basicModel_neutral_lbs_10_207_0_v1.0.0.pkl` is put on the root of the directory. Maybe bug in the PHALP? HOT 5
- Can't download model checkpoints and data HOT 1
- EGL canβt create context
- [FUNC] cam_crop_to_full HOT 2
- Keypoints Matching for Multiple People during Evaluation HOT 4
- 2d and 3d joints positions HOT 2
- PW3D Evaluation with HMR 2.0a HOT 1
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 4d-humans.