Commit fc340b9
authored
Update import statement in mobilevit tutorial for TF>=2.13v (#1546)
* Update import statement in mobilevit tutorial for TF>=2.13v
The mobile vit tutorial will break due to import statement which was changed from Tf2.13V onwards.This works fine upto Tf2.12 versions.
Hence I changed the import statement to make it work for Tf2.13 and higher versions. Also added a note regarding this to make users aware of how to change the import for TF<=2.12 versions.
* Update mobilevit.py
* Correcting formatting errors in new code of mobilevit.py
Correcting formatting errors in new code of mobilevit.py
* Update import statement in mobilevit tutorial for TF>=2.13v
The mobile vit tutorial will break due to import statement which was changed from Tf2.13V onwards.This works fine upto Tf2.12 versions.
Hence I changed the import statement to make it work for Tf2.13 and higher versions. Also added a note regarding this to make users aware of how to change the import for TF<=2.12 versions.
* Update mobilevit.ipynb
Added Note in new line.
* Update import statement in mobilevit.md tutorial for TF>=2.13v
The mobile vit tutorial will break due to import statement which was changed from Tf2.13V onwards.This works fine upto Tf2.12 versions.
Hence I changed the import statement to make it work for Tf2.13 and higher versions. Also added a note regarding this to make users aware of how to change the import for TF<=2.12 versions.1 parent d6b54b7 commit fc340b9
3 files changed
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
59 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
540 | 544 | | |
541 | 545 | | |
542 | 546 | | |
543 | | - | |
| 547 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
840 | 845 | | |
841 | 846 | | |
842 | 847 | | |
843 | | - | |
| 848 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments