Comments (7)
It might be because the dataset found 0 images. Could you elaborate a bit more?
from spade.
from spade.
That is strange. I just cloned the repo and followed README, and I found the images in results/coco_pretrained.
I downloaded the pretrained models, did not download coco dataset but used the sample images in ./dataset/coco_stuff
. The following was printed to my console. Could you share your console output as well?
python test.py --name coco_pretrained --dataset_mode coco --dataroot datasets/coco_stuff/
----------------- Options ---------------
aspect_ratio: 1.0
batchSize: 1
cache_filelist_read: True
cache_filelist_write: True
checkpoints_dir: ./checkpoints
coco_no_portraits: False
contain_dontcare_label: True
crop_size: 256
dataroot: datasets/coco_stuff/ [default: ./datasets/cityscapes/]
dataset_mode: coco
display_winsize: 256
gpu_ids: 0
how_many: inf
init_type: xavier
init_variance: 0.02
isTrain: False [default: None]
label_nc: 182
load_from_opt_file: False
load_size: 256
max_dataset_size: 9223372036854775807
model: pix2pix
nThreads: 0
name: coco_pretrained [default: label2coco]
nef: 16
netG: spade
ngf: 64
no_flip: True
no_instance: False
no_pairing_check: False
norm_D: spectralinstance
norm_E: spectralinstance
norm_G: spectralspadesyncbatch3x3
num_upsampling_layers: normal
output_nc: 3
phase: test
preprocess_mode: resize_and_crop
results_dir: ./results/
serial_batches: True
use_vae: False
which_epoch: latest
z_dim: 256
----------------- End -------------------
dataset [CocoDataset] of size 8 was created
Network [SPADEGenerator] was created. Total number of parameters: 97.5 million. To see the architecture, do print(network).
/mnt/ilcompfbd1/user/tapark/miniconda3/envs/python3/lib/python3.6/site-packages/torch/nn/modules/upsampling.py:129: UserWarning: nn.Upsample is deprecated. Use nn.functional.interpolate instead.
warnings.warn("nn.{} is deprecated. Use nn.functional.interpolate instead.".format(self.name))
/mnt/ilcompfbd1/user/tapark/miniconda3/envs/python3/lib/python3.6/site-packages/torch/nn/functional.py:1320: UserWarning: nn.functional.tanh is deprecated. Use torch.tanh instead.
warnings.warn("nn.functional.tanh is deprecated. Use torch.tanh instead.")
process image... datasets/coco_stuff/val_img/000000000139.jpg
process image... datasets/coco_stuff/val_img/000000000785.jpg
process image... datasets/coco_stuff/val_img/000000001268.jpg
process image... datasets/coco_stuff/val_img/000000001490.jpg
process image... datasets/coco_stuff/val_img/000000001503.jpg
process image... datasets/coco_stuff/val_img/000000001584.jpg
process image... datasets/coco_stuff/val_img/000000001818.jpg
process image... datasets/coco_stuff/val_img/000000001993.jpg
from spade.
from spade.
Your --name
option value is a bit weird. It's usually a name of the experiment, not the path to the checkpoint file.
Could you put the pretrained model at ./checkpoints/coco_pretrained/
, and use --name coco_pretrained
instead of the full path?
from spade.
You are amazing. Yes, I solved it using your suggestion. Thanks again.
from spade.
close this if your issue is resolved.
from spade.
Related Issues (20)
- How can I run this using RGB label as input ? HOT 4
- CUDA error: device-side assert triggered HOT 1
- Two update_learning_rate with same name
- RuntimeError: cublas runtime error : an access to GPU memory space failed at
- Converting to onnx HOT 2
- Choice between multi-scale discriminator and progrssive growing of GANs ?
- How many categories have you predicted for flickr data using deeplab?
- How "label_nc" in the setting works? HOT 2
- CUDA Error?? HOT 4
- Public API
- Extend to instance segmentation
- IndexError with custom dataset HOT 2
- errors with custom dataset HOT 3
- how to prepare the custom datasets?
- Issue a black background is added to the transparent image HOT 1
- GauGAN2 Paper HOT 1
- add --tf_log , program can not run HOT 1
- any pretrained models on ade20k or cityscapes with use_vae?
- Online demo app no longer on nvidia site?
- Training the model for Image to Image translation without label_nc and instance maps.
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 spade.