Giter Club home page Giter Club logo

deepfacedrawing-jittor's People

Contributors

onlineplay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deepfacedrawing-jittor's Issues

pytorch version and manifold part

When the pytorch version can be released? I am interested in the manifold part of this work, and looking forward to the code release.

Question about keeping viewpoint angles of input sketches

Thank you for your impressive work and generous sharing.

I have made it to generate some 2D images from the human sketches of my dataset with your code and pretrained models. However, I noticed that the generated 2D images all seem to be drawn from the front (canonical) view, while the viewpoint information, i.e. different observation angles, of the input skethes seem to be lost.

So I wonder if your model could keep the viewpoint information of the input sketches, and if it is possible how could I modify the code to keep the viewpoint information in the output 2D images. Thank you a lot.

About the training dataset.

Thanks for the great job. I want to know where can I download the training dataset used in the paper. I am looking forward to your reply.

Segfault

Thanks for your great job and looking forward to the torch version.

Do you have any idea why there is a segfault when running the demo. THX :)

Errors when load_path ./Params/Combine/latest_net_DE_.pkl

Errors when run python3.7 demo.py Could you please give me some advice?
load_path ./Params/Combine/latest_net_DE_.pkl


Assertion failed:
Traceback (most recent call last):
  File "demo.py", line 13, in <module>
    ui = WindowUI()
  File "/home/zhaojiabei/DeepFaceDrawing-Jittor/WindowUI.py", line 43, in __init__
    self.input_scene = InputGraphicsScene(self.modes, self.brush_size,self.output_scene)
  File "/home/zhaojiabei/DeepFaceDrawing-Jittor/Input_mouse_event.py", line 105, in __init__
    self.predict_shadow()
  File "/home/zhaojiabei/DeepFaceDrawing-Jittor/Input_mouse_event.py", line 273, in predict_shadow
    sex=self.sex)
  File "/home/zhaojiabei/DeepFaceDrawing-Jittor/models/AE_Model.py", line 97, in get_inter
    generated_f = self.get_latent(input_image)
  File "/home/zhaojiabei/DeepFaceDrawing-Jittor/models/AE_Model.py", line 80, in get_latent
    mus_mouth = self.net_encoder(input_image)
  File "/home/zhaojiabei/anaconda3/envs/face_drawing/lib/python3.7/site-packages/jittor/__init__.py", line 511, in __call__
    return self.execute(*args, **kw)
  File "/home/zhaojiabei/DeepFaceDrawing-Jittor/models/networks.py", line 199, in execute
    mu = self.fc_mu(ten)
  File "/home/zhaojiabei/anaconda3/envs/face_drawing/lib/python3.7/site-packages/jittor/__init__.py", line 511, in __call__
    return self.execute(*args, **kw)
  File "/home/zhaojiabei/anaconda3/envs/face_drawing/lib/python3.7/site-packages/jittor/nn.py", line 1303, in execute
    x = layer(x)
  File "/home/zhaojiabei/anaconda3/envs/face_drawing/lib/python3.7/site-packages/jittor/__init__.py", line 511, in __call__
    return self.execute(*args, **kw)
  File "/home/zhaojiabei/anaconda3/envs/face_drawing/lib/python3.7/site-packages/jittor/nn.py", line 378, in execute
    x = matmul_transpose(x, self.weight)
  File "/home/zhaojiabei/anaconda3/envs/face_drawing/lib/python3.7/site-packages/jittor/nn.py", line 30, in matmul_transpose
    assert a.shape[-1] == b.shape[-1]
AssertionError


How much GPU memory is needed?

Hi there.
I was trying to run the demo. A got this nice error:

[e 0913 21:22:14.557574 60 executor.cc:442] 
=== display_memory_info ===
 total_cpu_ram: 7.658GB total_cuda_ram: 3.945GB
 hold_vars: 1639 lived_vars: 3180 lived_ops: 7531
 update queue: 1630/1630
 name: sfrl is_cuda: 1 used: 1.254GB(86.9%) unused: 194.2MB(13.1%) total: 1.443GB
 name: sfrl is_cuda: 1 used: 2.116GB(97.4%) unused: 56.98MB(2.56%) total: 2.172GB
 name: sfrl is_cuda: 0 used: 2.116GB(97.4%) unused: 56.98MB(2.56%) total: 2.172GB
 name: sfrl is_cuda: 0 used:   271KB(26.5%) unused:   753KB(73.5%) total:     1MB
 cpu&gpu: 5.788GB gpu: 3.615GB cpu: 2.173GB
===========================

[e 0913 21:22:14.557734 60 executor.cc:446] [Error] source file location: /home/jesus/.cache/jittor/default/g++/jit/_opkey0:broadcast_to_Tx:float32__DIM=7__BCAST=19__JIT:1__JIT_cuda:1__index_t:int32___opkey...hash:719812a59219cddf_op.cc

Apparently i ran out of RAM for this. Which is not unexpected I only have a measly 1050 at 4GB of RAM. But that got me wondering. What is your recommendation for GPU to run this? I want to know before i start looking for new video cards.

Memory-Usage used full wen code running,and drawing is slow

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104 Driver Version: 410.104 CUDA Version: 10.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla P100-PCIE... Off | 00000000:00:0D.0 Off | 0 |
| N/A 39C P0 43W / 250W | 16279MiB / 16280MiB | 0% Default

Is it necessary to increase the memory and how much configuration do you use?

When will the PyTorch version coming?

It's really nice work you guys have done!
As the PyTorch version is mentioned as ""PyTorch version coming soon”, So when could we got this PyTorch version to study?

[Help] Explain *feature.bin

Hi,
First of all, I would like to thanks for your effort to provide us the source code and weight.
Actually, I can run it on my PC.
I have read your paper carefully, but I still concern about something, so I create this issue, and I hope anyone can help me to explain it.
1: I params folder, I see some file like man__feature.bin, female__feature.bin . But in your paper I can't map it with any network (CE, FM or IS). And i don't see you mention about sexuality in your paper. Can you help me to explain it.
2: Could you provide source code of net discriminator and file weight of it
Thanks and best regard

trained models download links

Hi !! first thanks for sharing your work, it's impressing, results are really good !!

I was wondering if it would be possible to share trained models (the Param folder) on another place than Baidu because it's nearly impossible to register on baidu without having a chinese phone number ?

thanks a lot !

unable to run demo.py file - runtime error

got the below error while running:
on3.8 -I/home/karthik/.local/lib/python3.8/site-packages/pybind11/include
[i 0524 10:49:50.172849 52 compiler.py:898] extension_suffix: .cpython-38-x86_64-linux-gnu.so
[i 0524 10:49:50.427291 52 init.py:168] Total mem: 10.62GB, using 3 procs for compiling.
[i 0524 10:49:50.993130 52 jit_compiler.cc:20] Load cc_path: /usr/bin/g++
[i 0524 10:49:51.052464 52 init.py:249] Found mpicc(4.0.3) at /usr/bin/mpicc.
[i 0524 10:49:51.124027 52 compiler.py:653] handle pyjt_include/home/karthik/.local/lib/python3.8/site-packages/jittor/extern/mpi/inc/mpi_warper.h
Traceback (most recent call last):
File "demo.py", line 4, in
from WindowUI import WindowUI
File "/home/karthik/Documents/deeplearning/DeepFaceDrawing-Jittor/WindowUI.py", line 18, in
jt.flags.use_cuda = 1
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.flags)).

Types of your inputs are:
self = flags,
arg = int,

The function declarations are:
void _set_use_cuda(int v)
void _set_use_cuda(bool v)

Failed reason:[f 0524 10:49:51.790183 52 cuda_flags.cc:30] Check failed: value==0 No CUDA found.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.