Skip to content

Conversation

@dewball345
Copy link
Contributor

This is a draft PR - updated .py files will be added

@dewball345
Copy link
Contributor Author

The changes look good to me. @ebursztein & @owenvallis -- please chime in!

Hi @fchollet, I did not include the actual file yet. Just have to do some grammar tweaks before I upload the notebook

@owenvallis
Copy link
Contributor

The changes to the Barlow files look good to me as well. I'll check back again once the VicReg files are uploaded.

@dewball345 dewball345 marked this pull request as ready for review April 14, 2022 02:13
@dewball345
Copy link
Contributor Author

@owenvallis I've added the VicReg example. BTW - have used a custom fork due to some changes in augmenters. I've made a PR at the tf similarity repo so if that gets merged to either the dev or master branch I'll change the code to use it instead.

@dewball345
Copy link
Contributor Author

@owenvallis @ebursztein could you check the VicReg code to see if everything looks good?

"outputs": [],
"source": [
"!pip install tensorflow-addons"
"!!pip install tensorflow-addons\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need the double !! for the shell command?

@owenvallis
Copy link
Contributor

Small note on the pip install commands, but looks good to me otherwise. Thanks again for adding the update.

@dewball345
Copy link
Contributor Author

Okay, I've made some changes - removed Barlow twins commits because those are unrelated to VicReg. Also, the TensorFlow similarity master branch is now used instead of the custom fork.

Let me know if everything looks okay before I create an ipynb notebook

@dewball345
Copy link
Contributor Author

Small note on the pip install commands, but looks good to me otherwise. Thanks again for adding the update.

Hey owen, have also added my VicReg files - LMK if they are okay and we can merge.

Copy link
Contributor

@owenvallis owenvallis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I left a note that you might want to clean the output of the md and ipynb files as it looks like some code blocks printed a large number of lines.

```
<div class="k-default-codeblock">
```
['Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we likely want to remove these repeated output lines.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@owenvallis I've finished this

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, this looks better, although I would still probably remove most of the loss outputs. Maybe just keep just the first 2 and the last 2. Up to you though. You can always update the output if you change your mind.

@fchollet, what's the recommendation regarding printing loss outputs in the md and ipynb files?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@owenvallis From what I found in the Keras io examples(including what I did in my previous examples), the loss outputs are kept as they are? Probably would be good to ask @fchollet but I'm open to including the first two and last two for readability purposes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, just left the first two and last two, and made an indication that rest were skipped. If that's not the recommended way to do this will just revert to the previous commit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fchollet @owenvallis Any update on this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added approval for the changes, but looks like you also need approval from someone with write access to the repo.

@dewball345
Copy link
Contributor Author

@fchollet Could you approve/give feedback on this PR - LMK if there are any issues with it.

@dewball345
Copy link
Contributor Author

Closing and will bump this up

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