Comments (3)
Hi @azmathmoosa ,
Are you using Windows? If yes, then there seems to be an issue with the library you are trying to use, see bshillingford/python-torchfile#9
Regarding an utility to do this, you can use pytorch (there is a windows build for it using conda). If this still doesn't work, please let me know and I will have a look.
from 2d-and-3d-face-alignment.
Thanks for the quick response @1adrianb . I tried pytorch for windows and it too failed to deserialize.
>>> import torch
>>> from torch.utils.serialization import load_lua
>>>
>>> a = load_lua('aflw__face_40662.t7')
>>> a
[torch.DoubleTensor with no dimension]
Going through the issue that you referenced they say that binary t7 files are not portable due to different sizes of long ints. So I must use a linux system to deserialize them first and then switch to windows. I will do that then.
Thanks for the assistance, and great work!
from 2d-and-3d-face-alignment.
I have finished the conversion, Win10, python3.7, pytorch 0.4.1(cpu)
use code
import torch
from torch.utils.serialization import load_lua
# code...
t7_data = load_lua("the path", long_size=8)
# code...
from 2d-and-3d-face-alignment.
Related Issues (20)
- Install fb-python on windows? HOT 2
- LS3D-W Checksum HOT 1
- About .mat file HOT 1
- Bad result!! HOT 1
- Can not run this demo on CPU HOT 1
- Regarding licence of model file and dataset. HOT 4
- Hair of the 2d face
- Can not download the pre-trained models HOT 1
- About the LS3D-W annotation HOT 5
- Scale factor in utils transform and get_normalisation HOT 1
- Cannot achieve same result in paper HOT 4
- Groundtruth bounding box for training HOT 1
- 2D-3D landmarks output . how? HOT 3
- Hi,In your paper, the AFLW is splited to 3 parts, how to split it? It seems the AFLW2000 dataset I downloaded is a whole folder. HOT 2
- Support for MacOS HOT 1
- 3D Alignment HOT 1
- Query regarding dataset annotation HOT 1
- why the heatmaps are of size 64x64 while images are of size 256x256 HOT 1
- Mapping from LS3D-W balanced to the LS3D-W images 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 2d-and-3d-face-alignment.