boomstarcuc / 3dsfmfacereconstruction Goto Github PK
View Code? Open in Web Editor NEWDeep Unsupervised 3D SfM Face Reconstruction Based on Massive Landmark Bundle Adjustment.
License: MIT License
Deep Unsupervised 3D SfM Face Reconstruction Based on Massive Landmark Bundle Adjustment.
License: MIT License
How to input multi-view images when infering? It looks like we can only input a single view image to get a disparity map in the inference.py
in the inference.py
from utils import tensor2array
could you update the codes?
Hello,
I have tried the landmark detection on my images (just replaced the references in the code Facial_landmak.py and they do not appear to detect any significant features of the face and they do not match between the images.
The images are png squared 384x384 as yours used in test_landmark folder. What am I doing wrong?
I get the following error , when I try to run Facial_landmark.py
D:\Program Files\Python310\lib\site-packages\torchvision\models\_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
D:\Program Files\Python310\lib\site-packages\torchvision\models\_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=ResNet18_Weights.IMAGENET1K_V1`. You can also use `weights=ResNet18_Weights.DEFAULT` to get the most up-to-date weights.
warnings.warn(msg)
Traceback (most recent call last):
File "E:\3D-Reconstruction\3DSfMFaceReconstruction\FaceLandmark\Facial_landmark.py", line 15, in <module>
net.load_state_dict(torch.load('./model/model_keypoints_800pts_iter_final.pt'))
File "D:\Program Files\Python310\lib\site-packages\torch\serialization.py", line 795, in load
return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)
File "D:\Program Files\Python310\lib\site-packages\torch\serialization.py", line 1012, in _legacy_load
result = unpickler.load()
File "D:\Program Files\Python310\lib\site-packages\torch\serialization.py", line 958, in persistent_load
wrap_storage=restore_location(obj, location),
File "D:\Program Files\Python310\lib\site-packages\torch\serialization.py", line 215, in default_restore_location
result = fn(storage, location)
File "D:\Program Files\Python310\lib\site-packages\torch\serialization.py", line 182, in _cuda_deserialize
device = validate_cuda_device(location)
File "D:\Program Files\Python310\lib\site-packages\torch\serialization.py", line 166, in validate_cuda_device
raise RuntimeError('Attempting to deserialize object on a CUDA '
RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
Thanks for your amazing job~ When would you release your paper link?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.