Comments (4)
@GoooIce @JinglUO703 Just using imitator.personalize
instead of adaptive_personalize
may get worse result. The pickle problem is caused by multiprocessing
of windows, you can solve it by #12
from impersonator.
I tried
python demo_imitator.py --gpu_ids 0
, and I can run it with imitator.personalize.
edit demo_imitator.py:48
# if test_opt.post_tune:
# adaptive_personalize(test_opt, imitator, visualizer=None)
# else:
# imitator.personalize(test_opt.src_path, visualizer=None)
imitator.personalize(test_opt.src_path, visualizer=None)
from impersonator.
win10 64 python373
what i run:
python run_imitator.py --gpu_ids 0 --model imitator --output_dir ./outputs/results/ --src_path ./assets/src_imgs/internet/men1_256.jpg --tgt_path ./assets/samples/ref_imgs/024_8_2 --has_detector --post_tune --front_warp --save_res
Traceback
(most recent call last):
File "run_imitator.py", line 225, in
adaptive_personalize(test_opt, imitator, visualizer)
File "run_imitator.py", line 209, in adaptive_personalize
imitator.post_personalize(opt.output_dir, loader, visualizer=None, verbose=False)
File "J:\impersonator\models\imitator.py", line 423, in post_personalize
for i, sample in enumerate(data_loader):
File "C:\Users\goooice\Anaconda3\envs\ml\lib\site-packages\torch\utils\data\dataloader.py", line 278, in iter
return _MultiProcessingDataLoaderIter(self)
File "C:\Users\goooice\Anaconda3\envs\ml\lib\site-packages\torch\utils\data\dataloader.py", line 682, in init
w.start()
File "C:\Users\goooice\Anaconda3\envs\ml\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\Users\goooice\Anaconda3\envs\ml\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "C:\Users\goooice\Anaconda3\envs\ml\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\Users\goooice\Anaconda3\envs\ml\lib\multiprocessing\popen_spawn_win32.py", line 89, in init
reduction.dump(process_obj, to_child)
File "C:\Users\goooice\Anaconda3\envs\ml\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <class 'main.MetaCycleDataSet'>: attribute lookup MetaCycleDataSet on main failedTraceback (most recent call last):
File "", line 1, in
File "C:\Users\goooice\Anaconda3\envs\ml\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\goooice\Anaconda3\envs\ml\lib\multiprocessing\spawn.py", line 115, in _main
self = reduction.pickle.load(from_parent)
EOFError: Ran out of input
Solve in run_imitator.py ???
from impersonator.
Solve in run_imitator.py ???
yes, same like demo_imitator.py
from impersonator.
Related Issues (20)
- Segmentation Fault HOT 10
- Get worse result adding Place2 for background training?
- No output videos
- I run it on win10 successfully, but it always use cpu not GPU HOT 2
- pytorch 和 torchvision 版本对应问题 HOT 13
- How can I get the video when run run_imitator.py HOT 1
- Running impersonator.ipynb in Google Colab HOT 2
- samples.zip file not found HOT 3
- AttributeError: module 'neural_renderer' has no attribute 'rasterize_face_index_map_and_weight_map' HOT 3
- RuntimeError while Training on Custom Dataset HOT 1
- create smpls for custom dataset
- HTTP too many requests error occurring everytime
- I can not donwload the dataset. HOT 2
- How could you get the camera parameter for mixamo smpls
- can not find pretrains. zip HOT 1
- Do you need "images_HD.tar.gz"? The file is huge, In addition, Baidu Cloud did not release
- where can i download the simples.zip,the link is failure "https://pan.baidu.com/s/1xAI96709Gvqahq9uYAEXYA" HOT 1
- Pair list for Fashionvideo dataset
- RuntimeError: Error compiling objects for extension
- ModuleNotFoundError: No module named 'neural_renderer'
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 impersonator.