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

About batch_hed.py #805

Open
wants to merge 198 commits into
base: dev
Choose a base branch
from
Open

About batch_hed.py #805

wants to merge 198 commits into from

Conversation

israrbacha
Copy link

i face the error of array broadcasting (2,3)->(2,2) i solved it with :
import skimage.io
import skimage.color
line#60 in script: image=skimage.io.imread(os.path.join(args.images_dir, imgList[i]))
if image.ndim!=3:
image=skimage.color.gray2rgb(image)
#for alpha channel
if image.shape[-1]==4:
image=image[..., :3]

junyanz and others added 30 commits May 28, 2018 00:11
1. pix2pix now uses hyperparameter lambda_L1, instead of lambda_A, and its value defaults to 100.0 following Isola et al.
2. Model-specific options, such as lambda_A or lambda_L1 are now configured in each model file.
3. The default value for the common options can now change depending on model name.
For example, dataset_mode defaults to 'unaligned' for --model cycle_gan, but it defaults to
'aligned' for --model pix2pix.
4. option now also displays the default value if not equal to the default.
5. addded a test script to test this.
…tion. Please see data/__init__.py

2. The default options are overwritable by each dataset, although the current datasets are not using them.
3. [none] option was explicitly added to --resize_or_crop option. The image sizes are still adjusted to multiples of 4.
4. better visdom error display
5. pix2pix_model now sets more default values
Fix the error doc string in the data init helper function
@junyanz
Copy link
Owner

junyanz commented Oct 18, 2019

Could you git pull the latest code, and then make your commit?

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

Successfully merging this pull request may close these issues.

None yet