Comments (7)
@aresgao A hidden folder was added to your home folder (it should be something named .facealignment ). Please emove it and rerun the installation.
from face-alignment.
@1adrianb Eh.......Then I got this......what can i do??
Downloading the face detection CNN. Please wait...
Traceback (most recent call last):
File "test.py", line 4, in
fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._2D, enable_cuda=True, flip_input=False)
File "build/bdist.linux-x86_64/egg/face_alignment/api.py", line 85, in init
Boost.Python.ArgumentError: Python argument types in
cnn_face_detection_model_v1.init(cnn_face_detection_model_v1, str)
did not match C++ signature:
init(_object*, std::string)
from face-alignment.
@1adrianb The python dlib detect loader can not work corroct, what is your python version?I use 2.7,conda.
from face-alignment.
@aresgao this is most likely a problem between the libboost version from your system and the one used to build dlib. I think there was a similar issue opened on the dlib github page. As an alternative you can run dlib in CPU mode which should work.
from face-alignment.
I have same issue on windows 10.
Python 3.5.2 |Anaconda custom (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import face_alignment
face_alignment.version
'0.1.0'
from face_alignment import FaceAlignment, LandmarksType
FACE_ALIGNMENT = FaceAlignment( LandmarksType._2D, enable_cuda=True, flip_input=False )
Traceback (most recent call last):
File "", line 1, in
File "E:\face2face\faceswap\faceswap_other\df\face-alignment\face_alignment\api.py", line 106, in init
map_location=lambda storage,
File "C:\Program Files\Anaconda3\lib\site-packages\torch\serialization.py", line 303, in load
return _load(f, map_location, pickle_module)
File "C:\Program Files\Anaconda3\lib\site-packages\torch\serialization.py", line 476, in _load
deserialized_objects[key]._set_from_file(f, offset, f_is_real_file)
RuntimeError: unexpected EOF. The file might be corrupted.
reinstall torch and face_alignment, still cannot solve it.
from face-alignment.
clean C:\Users\xxx\AppData\Local\face_alignment\data
solved.
from face-alignment.
[Solved]Clean cache of your pc
after that also clean path="C:\Users\Admin\AppData\Local\face_alignment"
run script face_alignment.py then wait for downloading Face Alignment Network(FAN)!!
After that it works Fine!! @aresgao
from face-alignment.
Related Issues (20)
- get_landmarks_from_batch returns an empty list
- Incorrect Landmark HOT 1
- Tiny and Smaller pretrained models!
- I can't use it by GPU HOT 1
- fail to get 2d landmark in float dtype
- Change path to pretrained models
- [update pypi] Update the apple silicon support version HOT 1
- Retroactive change in version 1.3.5 package
- How to filter the abnormal face?
- Is there any way to parallelize the post-processing code in `batch_detect`? HOT 1
- onnx version of this model
- Detect eye blink?
- new pip pag refer
- Is there any way to locate the obscured landmarks? HOT 1
- Are the face alignement landmark result same as dlib?
- RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory HOT 1
- When i use face_alignment.FaceAlignment(face_alignment.LandmarksType.THREE_D, flip_input=False), Why the key point shape of the last picture is (1, 1, 68, 3), and the shape of other images are (1, 1, 68, 2)
- Why I just can't run the test case you provided? HOT 1
- cant run on google colab : RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx HOT 1
- AttributeError: 'NoneType' object has no attribute 'ReadAsArray'
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 face-alignment.