Comments (12)
Would you mind to provide more information?
from landmark-detection.
snapshot = torch.load(snapshot,map_location='cpu')
I try load the pretrained model downloaded from the google cloud you provided ,but it does not work
from landmark-detection.
Would you mind to provide how do you place the snapshot file and provide a link to this code"snapshot = torch.load(snapshot,map_location='cpu')"?
from landmark-detection.
I run the san_eval.py on CPU, I modified the
snapshot = torch.load(snapshot)
to
snapshot = torch.load(snapshot,map_location='cpu')
from landmark-detection.
Did you exactly run "python san_eval.py --image ./cache_data/cache/test_1.jpg --model ./snapshots/SAN_300W_GTB_itn_cpm_3_50_sigma4_128x128x8/checkpoint_49.pth.tar --face 819.27 432.15 971.70 575.87 --save_path temp_1.png"?
from landmark-detection.
yes , I put the args into the argparse.ArgumentParser
from landmark-detection.
I just add the CPU support for san_eval.py, and tried, but I did not find your issues.
Please make sure "checkpoint_49.pth.tar" is at snapshots/SAN_300W_GTB_itn_cpm_3_50_sigma4_128x128x8
from landmark-detection.
I just replace the san_eval.py you modified ,it still does not work ,the problem is all the same
from landmark-detection.
Can you just share a screenshot of your error?
from landmark-detection.
from landmark-detection.
It might be caused by the PyThon version. I use Python 3.6 to save the model, but you are using Python 3.5. I also have this problem sometimes when load a model saved in different Python version. Would you mind to try Python 3.6?
from landmark-detection.
tks, I have run it on Python3.6 and it really works.
from landmark-detection.
Related Issues (20)
- Pretrained Model of SRT? HOT 3
- How to divide 300VW-Dataset into 3 categories HOT 1
- lk_target_loss return None, scale of batch_locs? How to set forward_max and fb_thresh? HOT 3
- [SAN/SBR] Problems in point_meta about apply_rotate . HOT 1
- Can someone share the paper SRT? HOT 1
- why dont normalized the network outputs to (0-1)? HOT 6
- Problem about training SBR with 300VW dataset HOT 1
- SRT inference HOT 8
- SBR using for our videos
- training failed in SRT heatmaps? HOT 1
- SRT inference get wrong results HOT 6
- SRT results HOT 1
- SBR inference on new video
- how to get arhuments of --face
- SRT inference on video HOT 2
- [Dataset issues] How to download "Synthetic-Face" dataset? HOT 2
- [feature request] SRT improve video inference
- [feature request] SRT inference on multiview images and videos
- ModuleNotFoundError: No module named 'xvision' HOT 3
- Confuse about "batch_interpolate_flow" function in SRT/lib/sbr/interpolate.py
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 landmark-detection.