Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for 3.4.1 release #1629

Merged
merged 4 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ numpy<=1.23
rapidfuzz
json-tricks==3.16.1
onnx-simplifier>=0.3.6,<1.0
data-gradients>=0.2.2
data-gradients>=0.3.0
2 changes: 1 addition & 1 deletion src/super_gradients/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.4.0"
__version__ = "3.4.1"

from super_gradients.common import init_trainer, is_distributed, object_names
from super_gradients.training import losses, utils, datasets_utils, DataAugmentation, Trainer, KDTrainer, QATTrainer
Expand Down
4 changes: 3 additions & 1 deletion src/super_gradients/scripts/export_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@
import argparse
import os

import pkg_resources

from super_gradients.common.environment.cfg_utils import export_recipe

if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--config_dir", type=str, default=None, help="The config directory path")
parser.add_argument("--config_dir", type=str, default=pkg_resources.resource_filename("super_gradients.recipes", ""), help="The config directory path")
parser.add_argument("config_name", type=str, help=".yaml filename")
parser.add_argument("save_path", type=str, default=None, help="Destination path to the output .yaml file")
args = parser.parse_args()
Expand Down