-
Notifications
You must be signed in to change notification settings - Fork 61
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
Google Colab version #3
Comments
For future reference: All that is needed to run this repository in Google Colab is to remove or comment out all the calls to
to
and run |
I immediately tried to move the code. Great!
Now you know how to run it in Google Colab.
Thank you for your support.
David Ly
… 2021/01/03 20:28、benearnthof ***@***.***>のメール:
For future reference: All that is needed to run this repository in Google Colab is to remove or comment out all the calls to cv2.imshow, since you can't open external windows in Colab. I've forked this repo and added these changes. You can find a minimal version of running the cat script here:
https://colab.research.google.com/drive/1TCKZg3FxJepnmcZE7Xjef6_BHmvzdmbb?usp=sharing <https://colab.research.google.com/drive/1TCKZg3FxJepnmcZE7Xjef6_BHmvzdmbb?usp=sharing>
If you want to process your own images simply upload them with a unique name to the 'input' directory and change the variable name in the corresponding script. For example:
Upload 'yourimage.png' to the 'input' directory
If we would like to use 'process_order.py' we change the args line in the file from
# args
input_path = './input/your file'
to
# args
input_path = './input/yourimage.png'
and run
!python process_order.py
in a code cell after saving the changes. You can, of course, also change the parameters to your liking.
The output images will be located in the 'output' directory in their own folder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AITR47QTZRWOXZDYK2YZT7LSYBIHFANCNFSM4VCJTT2Q>.
|
I tried to make my own Colab notepad first, but got an error. I saw this thread and tried to run the above mentioned Colab. But there is the same error. What to do?
|
the |
Thanks! Is it possible to generate one final image? Is it possible to turn off the animation so as not to waste extra resources and speed up drawing? |
The relevant line controlling this in the process_order.py file can be found here the |
Would you please publish the Google Colab version?
I think that if you have the Google Colab version, you can appeal to more people.
The text was updated successfully, but these errors were encountered: