Upgrading to tf2 modifies all my .py files

I’m upgrading my tensorflow version and using their
tf_upgrade_v2 script. I don’t run into any issues but all my python
files register as “modified” in git, even when there are no
changes? I poked around google and some people mention that my file
permissions may be changing, so I set the core.filemode to false in
my .git/config and then retry to to the upgrade, but I am still
seeing file changes. I diffed the files and I see zero changes. I
believe it could be the EOL, but I tried setting core.autcrlf to
false as well and that still gives me all these files as modified.
Has anyone encountered this? Running ubuntu 20.04.1.

submitted by /u/Woodhouse_20

[visit reddit]


Leave a Reply

Your email address will not be published. Required fields are marked *