Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The training effect is good, but the test effect is poor. #328

Open
yanxi20000519 opened this issue Dec 11, 2023 · 2 comments
Open

The training effect is good, but the test effect is poor. #328

yanxi20000519 opened this issue Dec 11, 2023 · 2 comments

Comments

@yanxi20000519
Copy link

The image generated in the training process has a good effect, but it is also poor to test the effect with the training set.My orders are:
train:

python train.py --name InstanceData --instance_feat --checkpoints_dir ./CheckPoint --batchSize 2 --label_nc 7

python precompute_feature_maps.py --name InstanceData --label_nc 7 --batchSize 4 --checkpoints_dir ./CheckPoint --instance_feat

python train.py --name InstanceDataNew --netG local --ngf 32 --num_D 3 --load_pretrain CheckPoint/InstanceData/ --niter 20 --niter_decay 20 --niter_fix_global 10 --instance_feat --load_features --batchSize 4 --label_nc 7 --checkpoints_dir ./CheckPoint

test:

python encode_features.py --name InstanceDataNew --netG local --ngf 32 --checkpoints_dir ./CheckPoint --label_nc 7 --instance_feat

python test.py --name InstanceDataNew --netG local --ngf 32 --instance_feat --checkpoints_dir ./CheckPoint --label_nc 7

@YangBo0411
Copy link

try train:
python train.py --name InstanceData --instance_feat --checkpoints_dir ./CheckPoint --batchSize 2 --label_nc 7 --netG local

@DuWenTao2
Copy link

The image generated in the training process has a good effect, but it is also poor to test the effect with the training set.My orders are: train:

python train.py --name InstanceData --instance_feat --checkpoints_dir ./CheckPoint --batchSize 2 --label_nc 7

python precompute_feature_maps.py --name InstanceData --label_nc 7 --batchSize 4 --checkpoints_dir ./CheckPoint --instance_feat

python train.py --name InstanceDataNew --netG local --ngf 32 --num_D 3 --load_pretrain CheckPoint/InstanceData/ --niter 20 --niter_decay 20 --niter_fix_global 10 --instance_feat --load_features --batchSize 4 --label_nc 7 --checkpoints_dir ./CheckPoint

test:

python encode_features.py --name InstanceDataNew --netG local --ngf 32 --checkpoints_dir ./CheckPoint --label_nc 7 --instance_feat

python test.py --name InstanceDataNew --netG local --ngf 32 --instance_feat --checkpoints_dir ./CheckPoint --label_nc 7

hello would you solove this question ? please help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants