Comments (7)
I think it is because your project path contain some space characters:
C:\Users\LINK\OneDrive - University of Waterloo\SYDE 671 project\released_v0.1\
I hope this is helpfully to you.
from facial_details_synthesis.
I have the same problem.
Did you have dealt with the problem?
from facial_details_synthesis.
Even I am facing the same issue and removing the space characters didn't resolve the problem.
from facial_details_synthesis.
I had the same issues even without space characters in project path. Any way to work around it?
from facial_details_synthesis.
I'm not sure this would help. But regarding the problem with space in the file path, I modified the code to make it work. Specifically, I had added a double quote around each path and change the os.system(cmd) to subprocess.run(shlex.split(cmd)) - subprocess, shlex should be imported. As an example, fit_model function in the proxyPredictor.py of my code is looks like,
def fit_model( exepath, imagePath, ptsPath, savePath,landmark_scale,expressionPath):
current_path = os.getcwd()
os.chdir(exepath)
imagePath = '"' + imagePath + '"'
ptsPath = '"' + ptsPath + '"'
savePath = '"' + savePath + '"'
if not expressionPath==None:
expressionPath = '"' + expressionPath + '"'
file_path = ' -p ./bfm2017/ibug_to_bfm2017-1_bfm_nomouth.txt -c ./bfm2017/bfm2017-1_bfm_nomouth_model_contours.json'+ \
' -e ./bfm2017/bfm2017-1_bfm_nomouth_edge_topology.json -m ./bfm2017/bfm2017-1_bfm_nomouth.bin'
if expressionPath is None:
cmd = './build/examples/Release/fit-model.exe -i '+ imagePath +' -l '+ptsPath+' -o '+savePath+' --save-texture 0 --save-wireframe 0 --landmark-scale '+ \
str(landmark_scale)+' '+file_path
else:
cmd = './build/examples/Release/fit-model.exe -i ' + imagePath +' -l ' +ptsPath +' -o ' +savePath+ \
' --num-fit-iter 10 --init-expression-coeffs-fp '+ expressionPath+ \
' --fix-expression-coeffs ' + str(args.fit_expression) + ' --save-texture 0 --save-wireframe 0 --landmark-scale '+str(landmark_scale) +' '+ file_path
subprocess.run(shlex.split(cmd))
# os.system(cmd)
os.chdir(current_path)
Hope it helps
from facial_details_synthesis.
I tried to follow the above steps ^^ which resulted in the following error.
sh: 1: FaceLandmarkImg.exe: not found
===> Landmarks detection done.
===> estimating proxy of /content/000005.jpg
sh: 1: fit-model.exe: not found
sh: 1: textureRender.exe: not found
from facial_details_synthesis.
The picture's problem?
from facial_details_synthesis.
Related Issues (20)
- CUDNN_STATUS_BAD_PARAM
- Some detal about code implement? HOT 1
- textureRender not output the result without error HOT 1
- textureRender.exe errors. HOT 1
- proxy Predictor Using Emotion Issues
- Can you provide a link to bfm2017-1_bfm_nomouth.bin? I can't install eos-py==0.16.1 HOT 2
- AttributeError: 'Image' object has no attribute 'ndim' HOT 3
- Why is always running out of my GPU memory? HOT 1
- How can i get the Albedo map and Specular map
- Question regarding code HOT 1
- A problem in running facialDetails.py HOT 5
- LOG (Cannot open file [D:\Folder_1\init_facial_fidelity_capture\results\019615\result.obj] ) HOT 1
- LOG (Cannot open file [D:\Folder_1\init_facial_fidelity_capture\results\019615\result.obj] ) HOT 3
- Cannot fit landmarks HOT 2
- where is the "./landmarkDetector/processed/teaser.box"?
- The release version is not able to find the landmarks
- If cmake version is the newest, the cmd of section "Compiling/proxyEstmator/Step3 cmake .." should change.
- Why the faceRender.exe is not support displacementMap? HOT 2
- can not create processed/019615.box' HOT 1
- can not find box files
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 facial_details_synthesis.