-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
light transfer #41
Comments
I would recommend using the model predictions of DPR model here rather than converting the SH parameters from other models. Maybe the coordinate systems are mirrored. For the expression 'smile' attribute is used. |
thanks Raeen for your quick prompt. after following ur suggestion everything works just fine! Many thanks!! |
how to use DPR with this job? Am I missing something? |
at line 87 from the script here outputImg, _, outputSH, _ = my_network(inputL, sh, 0) this outputSH can then be used by styleFlow |
mmm yes I see it! |
i share here a dirty and messy code i did urgently for a deadline. these 3 scripts allow to prepare data for styleflow. i have 3 different conda env for psp, DPR and styleflow. I didnt have time to create a single env fo all of them. to get these scripts to work u will have to fix the 'listImages' function in all of these scripts. PS: tested on ubuntu 18.04 good luck |
I try to do what you said in one env but it seems that psp needs Cuda 10.1 when StyleFlow needs Cuda 10.0 so I guess we need 2 separate envs. Can you provide a bit more "how-to" information about your procedure? I try to combine your azurerun script with what is said in issue : #14 |
Hi Rameen,
Thank for this sharing the code, i was trying to reproduce ur results on my own images. i prepared all the npy and pickle files.
I still have two questions:
for light: I used SfsNet to estimate SH light and then used sfs2shtools from DRP to convert to shtools format. after running light transfer with styleFlow, i have the feeling that the light is mirrored on vetical axis. can you plz tell us if something is wrong with what we did? is that what StyleFLow is expecting for light representation ?
for MS azure expression: can u tell which field u are using exactly?
Cheers
The text was updated successfully, but these errors were encountered: