We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
utils.py def plot_segmentation_images ... axes[0].imshow(image.transpose(1, 2, 0)) axes[1].imshow(mask.transpose(1, 2, 0)) axes[2].imshow(segmentation,vmin=0, vmax=1) ...
From To
The text was updated successfully, but these errors were encountered:
I want to have a prediction result picture. But I don't know how to adjust the code to get the plot _segmentation_images. Please help me. Thank you.
Sorry, something went wrong.
@wyweather ; you need to add --save_segmentation_images command to your run command.
E.g
python bin/run_patchcore.py --gpu 0 --seed 0 --save_segmentation_images \ --log_group mvtec-1 --log_project mvtec_Results results \ patch_core -b wideresnet50 -le layer2 -le layer3 --faiss_on_gpu \ --pretrain_embed_dimension 1024 --target_embed_dimension 1024 --anomaly_scorer_num_nn 1 --patchsize 3 \ sampler -p 0.1 approx_greedy_coreset dataset --resize 250 --imagesize 250 "${dataset_flags[@]}" mvtec $datapath
No branches or pull requests
utils.py
def plot_segmentation_images
...
axes[0].imshow(image.transpose(1, 2, 0))
axes[1].imshow(mask.transpose(1, 2, 0))
axes[2].imshow(segmentation,vmin=0, vmax=1)
...
From
To
The text was updated successfully, but these errors were encountered: