Skip to content

Conversation

barryridge
Copy link

Fix for #8 based on comments by @vijtad and @zhaozj89.

Add version checks/changes at fail points based on output of
tf_upgrade_tool.py.

Add Python 3.x compatibility.

Unsure if adding forward/backward compatibility like this is the
best approach for future maintainability. Please advise and/or
feel free to reject PR as appropriate.

Add version checks/changes at fail points based on output of
tf_upgrade_tool.py.

Add Python 3.x compatibility.
@warmspringwinds
Copy link
Owner

warmspringwinds commented Apr 20, 2017

@barryridge Thank you so much for your help!

I think tensorflow/models now only works with TF 1.0 or later so, if
you can update your PR without backward compatibility I will merge it once I switch to
a new version of TF.

@barryridge
Copy link
Author

@warmspringwinds You're most welcome! Thank you publishing such a nice package. I'm looking forward to adapting it for another dataset, but I haven't had time yet. I should have time to play with this again next week though, so I'll also look at adjusting the PR then and let you know.

@barryridge
Copy link
Author

Apologies for the delay with this! Should be ready for merging now.

@warmspringwinds
Copy link
Owner

@barryridge Great! Thank you so much! I am glad that you like it.

I will merge once we switch to a new TF version soon.

@barryridge
Copy link
Author

barryridge commented Apr 30, 2017

@warmspringwinds, FYI, I just noticed while playing around with this stuff yesterday that PR #7 by @ahundt actually incorporates all of these changes anyway and does a lot more besides, so my PR is actually redundant if you merge #7.

ahundt added a commit to ahundt/tf-image-segmentation that referenced this pull request May 5, 2017
…ibility

Fix for warmspringwinds#8: make forward/backward compatible with tf-1.0.x.

# Conflicts:
#	tf_image_segmentation/utils/tf_records.py
Also add tf version requirement line to README.
@BrianOn99
Copy link

@barryridge I think tf_image_segmentation/models/resnet_v1_101_8s.py still have a tf.pack when I locally merged your branch. Should we change it to tf.stack?

@barryridge
Copy link
Author

@BrianOn99 Sorry, must have missed that one. Should be fixed now in latest commit.

@BrianOn99
Copy link

@barryridge Thanks for the prompt fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants