Comments (5)
Please use PyYAML>=6.0
from icon.
hello, I met the same error, and I have pyyaml 6.0
$ pip install pyyaml
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: pyyaml in /home/txt/anaconda3/envs/icon/lib/python3.8/site-packages (6.0)
any suggestions?
from icon.
Sorry, try to use PyYAML==5.1.1
from icon.
Thanks, there are still some conflicts
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
pyyaml==5.1.1 -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Your python: python=3.8
installion.md requires Python = 3.8.
I'm trying to solve it.
from icon.
Sorry, try to use PyYAML==5.1.1
Traceback (most recent call last):
File "infer.py", line 96, in <module>
dataset = TestDataset(dataset_param, device)
File "/workspace/fashion-ICON/apps/../lib/dataset/TestDataset.py", line 105, in __init__
self.hps = PIXIE(config = pixie_cfg, device=self.device)
File "/workspace/fashion-ICON/apps/../lib/pixielib/pixie.py", line 49, in __init__
self._create_model()
File "/workspace/fashion-ICON/apps/../lib/pixielib/pixie.py", line 115, in _create_model
self.smplx = SMPLX(self.cfg.model).to(self.device)
File "/workspace/fashion-ICON/apps/../lib/pixielib/models/SMPLX.py", line 156, in __init__
self.extra_joint_selector = JointsFromVerticesSelector(
File "/workspace/fashion-ICON/apps/../lib/pixielib/models/lbs.py", line 399, in __init__
data = yaml.load(f)
TypeError: load() missing 1 required positional argument: 'Loader'
by original repo's issue (#30)
refer to upper comments, this error might be resolved by install PyYAML==5.1.1 but
It makes error again
Traceback (most recent call last):
File "infer.py", line 102, in <module>
for data in pbar:
File "/opt/conda/envs/icon/lib/python3.8/site-packages/tqdm/std.py", line 1180, in __iter__
for obj in iterable:
File "/workspace/fashion-ICON/apps/../lib/dataset/TestDataset.py", line 191, in __getitem__
preds_dict = self.hps.forward(img_hps.to(self.device))
File "/workspace/fashion-ICON/apps/../lib/pixielib/pixie.py", line 56, in forward
param_dict = self.encode({'body': {'image': data}}, threthold=True, keep_local=True, copy_and_paste=False)
File "/opt/conda/envs/icon/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/workspace/fashion-ICON/apps/../lib/pixielib/pixie.py", line 259, in encode
cropped_image, cropped_joints_dict = self.part_from_body(image_hd, part_name, points_dict)
File "/workspace/fashion-ICON/apps/../lib/pixielib/pixie.py", line 166, in part_from_body
cropped_image, tform = self.Cropper[cropper_key].crop(
File "/workspace/fashion-ICON/apps/../lib/pixielib/utils/tensor_cropper.py", line 98, in crop
cropped_image, tform = crop_tensor(image, center, bbox_size, self.crop_size)
File "/workspace/fashion-ICON/apps/../lib/pixielib/utils/tensor_cropper.py", line 78, in crop_tensor
cropped_image = warp_affine(
TypeError: warp_affine() got an unexpected keyword argument 'flags'
Are there any solution to run pixie module?
from icon.
Related Issues (20)
- colanb can't running HOT 1
- The code to obtain 4-views rendered results of the Cape dataset HOT 5
- 投影 HOT 1
- use_vis
- How can I get the model trainable parameters information? HOT 1
- A question about the environment HOT 3
- A question of datasets HOT 2
- A question about data-processing HOT 4
- A question about the version of pytorch and cuda HOT 1
- Colab gives an error when running the model
- Multiprocessing error in visibility phase
- Question about the metrics
- Question about resuluts
- Difference between inference code and evaluation code? HOT 1
- why are visible regions blacked out in visibility maps? HOT 2
- Train a DepthNet to predict cloth depth map
- THuman2.0 have not face texture
- Normal Map
- How to Include 'jaw' Joint and Eye Joints in a Kinematic Chain?
- The code runs without any errors, but no results are generated. python -m scripts.render_batch -headless -out_dir data/
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 icon.