Comments (4)
check this out: NVlabs/few_shot_gaze#19
are you using multi-gpu training?
from sted-gaze.
yes
from sted-gaze.
I managed to fix it by adjusting the load_model function in util.py to remove the "module" word from the keys, you'll need to do something similar for the decoder and discriminator:
if next(iter(checkpoint['encoder'].keys())).startswith('module.'):
checkpoint['encoder'] = dict([(k[7:], v) for k, v in checkpoint['encoder'].items()])
from sted-gaze.
Hey,
the provided model checkpoint is trained with single gpu, I just tested eval.py with both single and multi gpu training, and i had no problem loading the problem with either case.
Maybe if someone else meets the same problem as you, they can consider to remove 'module' as you did.
from sted-gaze.
Related Issues (15)
- Preprocessing dataset HOT 2
- Can I get 'PerceptualSimilarity' file? HOT 1
- suplementary files HOT 4
- problem when running your train/eval scripts HOT 1
- PerceptualSimilarity HOT 4
- There appears to be a few errors in the names of some items from eval.json HOT 1
- About functional loss HOT 1
- Number of training which the result is averaged over HOT 3
- Generating images with random gaze directions HOT 1
- Gettng high gaze_redirection loss HOT 1
- How to run with pre-trained model? HOT 1
- Can I get the source codes to process the 'Columbia' and 'EYEDIAP' dataset?
- Preprossing of 'columbia' and 'eyediap' datasets
- Question about semi-supervised cross dataset evaluation 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 sted-gaze.