Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
220 views
in Technique[技术] by (71.8m points)

python - tensorflow code upgrade modifies all files for git

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.

question from:https://stackoverflow.com/questions/65848851/tensorflow-code-upgrade-modifies-all-files-for-git

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...