AdverseBiNet icon indicating copy to clipboard operation
AdverseBiNet copied to clipboard

General questions

Open ghost opened this issue 5 years ago • 7 comments

@ankanbhunia Thank you for your work.

  • What is the license for this project?
  • What are the commands used for training?
  • What are the commands used to binarize an image?
  • Which version of OpenCV is required?
  • How did you convert the images from those datasets into patches of size 256 X 256?

ghost avatar Jan 06 '19 07:01 ghost

@MrOCR Thanks for your interest in our work.

We use OpenCV version 3.4.5. You can start training the model just by running the train.py. You can input the dataset path and adjust the other parameters (Batch_size, No_of_epochs, etc.) by editing the params dictionary in that file. We follow the same procedure to extract the patches as described in DSN-Binarization .You can download these extracted patches from here. After training the model, If you want to get the binarized output from testing images, you have to use the function Noise_remover_network. The full testing code is not provided in this repository.
And to answer your first question, you can use our code for non-commercial research purposes.

ankanbhunia avatar Jan 07 '19 13:01 ankanbhunia

Hi @ankanbhunia, Is it possible to run your code on a Windows 10 environment? Tensorflow for Python 2.7 only available for Linux and Mac. Is it possible to modify your code to work on Python 3.6?

Thank you

zokai avatar Jan 13 '20 04:01 zokai

I think you can run the same code on Python 3.6 as well.

ankanbhunia avatar Jan 13 '20 05:01 ankanbhunia

You can use my testing code. https://github.com/unik00/AdverseBiNet 3

unik00 avatar Mar 13 '20 05:03 unik00

Hey @unik00 Can you provide a more detailed way to test ? Maybe a Google Collab notebook ? Thanks.

pra-dan avatar Aug 14 '20 07:08 pra-dan

Like others before me (above), I would be so grateful for brief, simple guidance about how to use the code/repository to get nice results like @unik00 posted above.

Thanks.

SB2020-eye avatar Sep 23 '20 03:09 SB2020-eye

Is there a way to use this code in tf 2.0?

jrdyhwh avatar Mar 30 '22 14:03 jrdyhwh