Comments (9)
可以试一下把DFNRMVS folder加入PYTHONPATH. export PYTHONPATH=<DFNRMVS directory>
from dfnrmvs.
您好,我试了以后还是不行,另外我检查了一下BGM.mat文件在报错信息提示的目录中没有找到,报错信息如下
~/workspace/DFNRMVS master ✗ 39d13h ⚑ ◒
(DFNRMVS)
~/workspace/DFNRMVS master ✗ 39d13h ⚑ ◒
Initializing model ...
Traceback (most recent call last):
File "/home/lrr/anaconda3/envs/DFNRMVS/lib/python3.6/site-packages/scipy/io/matlab/mio.py", line 39, in _open_file
return open(file_like, mode), True
FileNotFoundError: [Errno 2] No such file or directory: './external/face3d/examples/Data/BFM/Out/BFM.mat'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "demo.py", line 143, in
model = init_model(checkpoint_path)
File "demo.py", line 47, in init_model
model = FNRMVSNet(opt_step_size=1e-2)
File "/home/lrr/workspace/DFNRMVS/networks/sub_nets.py", line 1083, in init
self.opt_layer = NRMVSOptimization(opt_step_size=opt_step_size, MM_base_dir=MM_base_dir)
File "/home/lrr/workspace/DFNRMVS/networks/sub_nets.py", line 553, in init
self.bfm = bfm_utils.load_3DMM(MM_base_dir)
File "/home/lrr/workspace/DFNRMVS/data/BFM/utils.py", line 69, in load_3DMM
bfm = MorphabelModel(os.path.join(MM_base_dir, 'Out/BFM.mat'))
File "/home/lrr/workspace/DFNRMVS/external/face3d/face3d/morphable_model/morphabel_model.py", line 30, in init
self.model = load.load_BFM(model_path)
File "/home/lrr/workspace/DFNRMVS/external/face3d/face3d/morphable_model/load.py", line 31, in load_BFM
C = sio.loadmat(model_path)
File "/home/lrr/anaconda3/envs/DFNRMVS/lib/python3.6/site-packages/scipy/io/matlab/mio.py", line 222, in loadmat
with _open_file_context(file_name, appendmat) as f:
File "/home/lrr/anaconda3/envs/DFNRMVS/lib/python3.6/contextlib.py", line 81, in enter
return next(self.gen)
File "/home/lrr/anaconda3/envs/DFNRMVS/lib/python3.6/site-packages/scipy/io/matlab/mio.py", line 17, in _open_file_context
f, opened = _open_file(file_like, appendmat, mode)
File "/home/lrr/anaconda3/envs/DFNRMVS/lib/python3.6/site-packages/scipy/io/matlab/mio.py", line 45, in _open_file
return open(file_like, mode), True
FileNotFoundError: [Errno 2] No such file or directory: './external/face3d/examples/Data/BFM/Out/BFM.mat'
(DFNRMVS)
from dfnrmvs.
在目标路径上这个file存在吗?不存在的话需要setup YadiraF/face3d 里的 BFM (https://github.com/YadiraF/face3d/blob/master/examples/Data/BFM/readme.md).
from dfnrmvs.
可以了,谢谢您
还有一个问题就是,我现在用的windows的matlab生成BFM的out下面的东西,直接拷贝到ubuntu环境可以用吗
from dfnrmvs.
试好了,麻烦您了
from dfnrmvs.
可以了,谢谢您
还有一个问题就是,我现在用的windows的matlab生成BFM的out下面的东西,直接拷贝到ubuntu环境可以用吗
方便分享下 BFM.mat??
from dfnrmvs.
可以了,谢谢您
还有一个问题就是,我现在用的windows的matlab生成BFM的out下面的东西,直接拷贝到ubuntu环境可以用吗方便分享下 BFM.mat??
可以的,你的邮箱是多少
from dfnrmvs.
可以了,谢谢您
还有一个问题就是,我现在用的windows的matlab生成BFM的out下面的东西,直接拷贝到ubuntu环境可以用吗方便分享下 BFM.mat??
可以的,你的邮箱是多少
你好,我也想要一份BFM.mat, BFM_info.mat,电脑没装matlab没能生成,我的邮箱是[email protected],非常感谢~
from dfnrmvs.
I also want a copy of BFM.mat, BFM_info.mat. My email is [email protected]
from dfnrmvs.
Related Issues (13)
- TypeError when transform "face_region_mask" from numpy to torch HOT 2
- 想看到Landmark数据和Multi-Level重建 HOT 2
- Code questions
- The camera parameters HOT 4
- KeyError: 'model'
- The training code HOT 5
- Licence HOT 1
- Building wheel for tinyobjloader (setup.py) ... error HOT 13
- 深度图寻求帮助 HOT 1
- Buffer has wrong number of dimensions (expected 2, got 3) HOT 1
- please add colab example.
- 请问你训练用到的数据集是什么 HOT 2
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 dfnrmvs.