Skip to content

Commit 0696876

Browse files
simoninithomasWauplinosanseviero
authored
Integrating Hugging Face Hub 🤗 (updated) (#5856)
* Add Hugging Face Integration * Update setup.py * Update push_to_hf.py * Update push_to_hf.py * Update push_to_hf.py * Update push_to_hf.py Remove use_auth_token * Update push_to_hf.py * Update push_to_hf.py * Create Huggy * Update load_from_hf.py *Change loading to snapshot_download (able to use cache) * Update push_to_hf.py * Use create_repo and upload_folder instead of git * Apply suggestions from code review Co-authored-by: Lucain <[email protected]> Co-authored-by: Omar Sanseviero <[email protected]> * Delete Huggy + update load and push to hf * Delete Huggy config file * Update load_from_hf * Update push_to_hf * Apply suggestions from code review Co-authored-by: Omar Sanseviero <[email protected]> Co-authored-by: Lucain <[email protected]> * Update push_to_hf.py * Update with Omar Feedback * Black style formatter * Create __init__.py * Updates based on flake8 review * Change logging to MLAgents logger * Update python version * Update Python Version * Update setup.py * Update logger * Update logger * Pre-commit * Update Tuple * Update metadata generation * Ignore mypy error * Create Hugging-Face-Integration.md * Update ML-Agents-Toolkit-Documentation.md * Update style of Hugging-Face-Integration.md * Typo * Remove spaces --------- Co-authored-by: Lucain <[email protected]> Co-authored-by: Omar Sanseviero <[email protected]>
1 parent 9c27e73 commit 0696876

29 files changed

+351
-23
lines changed

DevProject/Assets/csc.rsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
-warnaserror+
2-
-warnaserror-:618
2+
-warnaserror-:618

DevProject/DevProject.sln.DotSettings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2-
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=RL/@EntryIndexedValue">RL</s:String></wpf:ResourceDictionary>
2+
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=RL/@EntryIndexedValue">RL</s:String></wpf:ResourceDictionary>

DevProject/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
}
2121
]
2222
}
23-
}
23+
}

Project/Assets/ML-Agents/Examples/PushBlockWithInput/PushBlockActions.inputactions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,4 @@
176176
]
177177
}
178178
]
179-
}
179+
}

Project/Assets/ML-Agents/Examples/SharedAssets/Materials/ShaderOutline.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ Shader "Custom/Outline and ScreenSpace texture"
8585
ENDCG
8686
}
8787
}
88-
}
88+
}

Project/Assets/ML-Agents/Examples/SharedAssets/Materials/ShaderRadialGrid.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@
8585
// ENDCG
8686
// }
8787
// }
88-
// }
88+
// }

Project/Project.sln.DotSettings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
22
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=ML/@EntryIndexedValue">ML</s:String>
3-
<s:Boolean x:Key="/Default/UserDictionary/Words/=Dont/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
3+
<s:Boolean x:Key="/Default/UserDictionary/Words/=Dont/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

com.unity.ml-agents.extensions/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ build.bat.meta
1313

1414
# API Scraper output
1515
*.api
16-
*.api.meta
16+
*.api.meta

com.unity.ml-agents.extensions/Runtime/Input/Unity.ML-Agents.Extensions.Input.asmdef

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
}
2121
],
2222
"noEngineReferences": false
23-
}
23+
}

com.unity.ml-agents.extensions/Tests/Runtime/Input/Unity.ML-Agents.Extensions.Input.Tests.Runtime.asmdef

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
}
2929
],
3030
"noEngineReferences": false
31-
}
31+
}

0 commit comments

Comments
 (0)