-
Notifications
You must be signed in to change notification settings - Fork 77
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
[Bug]: Error in atrain_crops csv build #348
Comments
Hi @TamirBar-Tov this is related to locale encoding on windows. You need to compare the environment variables between jupyter and pycharm to see where they issue is coming from. This is from ChatGPT: Font issues in PyCharm versus Jupyter when using pandas.to_csv could be influenced by several environment variables or settings: Locale Settings: Ensure that the locale in PyCharm is set correctly. Jupyter may be using UTF-8 encoding by default, while PyCharm could be defaulting to a different encoding (e.g., ANSI). Check the PYTHONIOENCODING environment variable in PyCharm. Set it to utf-8 if not already set: PYTHONIOENCODING=utf-8 Console Encoding: PyCharm's console may not handle special characters or encodings as well as Jupyter's interface. Check the console encoding settings in PyCharm: Go to File > Settings > Editor > File Encodings and ensure UTF-8 is set for "Global Encoding" and "Project Encoding." python System Locale: On Windows, the system locale may differ between applications. Ensure that the locale for non-Unicode programs is set to a UTF-8 compatible option. |
Thanks for your response. I'm working with Micky Fire on an article and
using your platform, we talk before if you remember..
I tried to do what you told me and few other things but only this file
return with this problem. The others are good. It's something inside
dll.do_main()
Thanks
Tamir
…On Sun, Sep 29, 2024, 14:08 Danny Bickson ***@***.***> wrote:
Hi @TamirBar-Tov <https://github.com/TamirBar-Tov> this is related to
locale encoding on windows. You need to compare the environment variables
between jupyter and pycharm to see where they issue is coming from.
This is from ChatGPT:
Font issues in PyCharm versus Jupyter when using pandas.to_csv could be
influenced by several environment variables or settings:
Locale Settings: Ensure that the locale in PyCharm is set correctly.
Jupyter may be using UTF-8 encoding by default, while PyCharm could be
defaulting to a different encoding (e.g., ANSI).
Check the PYTHONIOENCODING environment variable in PyCharm. Set it to
utf-8 if not already set:
PYTHONIOENCODING=utf-8
Console Encoding: PyCharm's console may not handle special characters or
encodings as well as Jupyter's interface. Check the console encoding
settings in PyCharm:
Go to File > Settings > Editor > File Encodings and ensure UTF-8 is set
for "Global Encoding" and "Project Encoding."
Pandas Display Options: Pandas might display text differently based on the
environment. Try enforcing the encoding when saving the CSV file:
python
Copy code
df.to_csv('file.csv', encoding='utf-8')
Font in PyCharm: If PyCharm is using a font that doesn't support special
characters, change the font under File > Settings > Editor > Font to
something like Consolas or another monospaced font that supports Unicode.
System Locale: On Windows, the system locale may differ between
applications. Ensure that the locale for non-Unicode programs is set to a
UTF-8 compatible option.
—
Reply to this email directly, view it on GitHub
<#348 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQEMOPH5QUBAMYB6MD3P4CDZY7NTRAVCNFSM6AAAAABPBS7XUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGMYTIMZUG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
hi @TamirBar-Tov say hi to Micky Fire! |
Ok I will do it.
BTW, I'm building a very cool tool with your platform which can be used by
you as a service to your users. I can show you If you want.
Tamir
בתאריך יום ב׳, 30 בספט׳ 2024 ב-12:26 מאת Danny Bickson <
***@***.***>:
… hi @TamirBar-Tov <https://github.com/TamirBar-Tov> say hi to Micky Fire!
I suggest moving to Linux or MacOS. This is Windows crap.
—
Reply to this email directly, view it on GitHub
<#348 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQEMOPBL5LDYPBEC7GB3VELZZEKN7AVCNFSM6AAAAABPBS7XUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBSGYYDANRWHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
sure we would love to see it! |
In the project that I'm doing now I needed to train yolo model, but I
didn't have examples with annotation files. So I used your model to create
those examples. I run it on all the examples and chose the ones with good
detection. I write now as yolo examples generator tool and I think that it
can be very good for others as well. here are some examples:
Good:
[image: image.png]
[image: image.png]
not good:
[image: image.png]
[image: image.png]
In that way I created more than 1000 examples. I'm working on a paper now,
and hope to publish it :)
Tamir
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
בתאריך יום ב׳, 30 בספט׳ 2024 ב-13:21 מאת Danny Bickson <
***@***.***>:
… sure we would love to see it!
—
Reply to this email directly, view it on GitHub
<#348 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQEMOPDLQ7EO6VID66SRCCDZZEQZVAVCNFSM6AAAAABPBS7XUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBSG4YTMOJXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @TamirBar-Tov the examples where not received well. Can you resend to my email danny [ AT ] visual - layer [ DOT ] com |
What happened?
Hi! I run the code on windows (pycharm) and the atrain_crops file doesn't build preperly. When I run the same code on colab it works well. It somewhre in the dll.do_main function.
filename:
????????
????????
???????????????
????????
????????
????????
????????
????????
???????????
????????
What did you expect to see?
No response
What version of fastdup were you runnning on?
2.2
What version of Python were you running on?
Python 3.9
Operating System
Windows
Reproduction steps
No response
Relevant log output
Attach a screenshot [Optional]
No response
Contact Details [Optional]
[email protected]
The text was updated successfully, but these errors were encountered: