Comments (2)
@Gigibulid The pretrained models were trained with 5 attributes. Therefore, the dimension of generator's first conv filter is [64, 8, 7, 7], where 8 is the sum of 3(rgb channels) and 5(attributes). When you run the evaluation command with 2 attributes (black and blond), the dimension of generator's first conv filter is [64, 5, 7, 7]. This will cause a dimension mismatch error, when loading the trained parameters.
For the case of 5 attributes(black, blond, brown, male, young), You can change only hair colors(black and blond) by editing c_trg_list to c_trg_list[0:2]. Then, run the evaluation script with 5 attributes.
from stargan.
@yunjey Thank you so much!! It worked!!
How I can add my own dataset (even if that is one image) in the pre-trained model?? I changed the --dataset value from CelebA to the name of mine but it did not work.
from stargan.
Related Issues (20)
- request for RaFD dataset
- change IMAGE_SIZE
- How to align Rafd dataset?
- Evaluation Metric "Classification Error" on RaFD dataset?
- Error when testing
- Got stuck at self.G.to(self.device) HOT 3
- Not using Epoch but Iteration to train HOT 1
- Manage domain (attribute) as StarGANv1 HOT 1
- Missing Classification loss in Discriminator for fake Images HOT 2
- Question about parameter adjustment when changing attributes
- Can you share your pre-trained model on RaFD dataset? HOT 1
- [Question] Mask vector in this paper
- how to save the generated images separated HOT 3
- zero vector order in the domain label vector
- Reverse attribute value
- How to get reconstructed images in test stage
- Hello, can you provide the multi-attribute translation task code of solver.py?
- Where does the extra dimension come from in the target labels list?
- Question: Instance Normalization with track_running_stats= True
- Dataset link is not working 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 stargan.