Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

#818 Feature/sg 750 fix links doc

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-750-fix_links_doc
@@ -1,10 +1,10 @@
-# Data in SG
+# Data
 
 
 To handle data, SuperGradients takes use of two Pytorch primitives: `torch.utils.data.Dataset` - which is in charge of generating the samples and their corresponding labels,
 To handle data, SuperGradients takes use of two Pytorch primitives: `torch.utils.data.Dataset` - which is in charge of generating the samples and their corresponding labels,
 and `torch.utils.data.DataLoader` - that wraps an iterable around the Dataset to enable easy access to the samples. In other words, `torch.utils.data.Dataset` defines how to load a single sample,
 and `torch.utils.data.DataLoader` - that wraps an iterable around the Dataset to enable easy access to the samples. In other words, `torch.utils.data.Dataset` defines how to load a single sample,
 while `torch.utils.data.DataLoader` defines how to load batches of samples. For more information, see [PyTorch documentation](https://pytorch.org/docs/stable/data.html).
 while `torch.utils.data.DataLoader` defines how to load batches of samples. For more information, see [PyTorch documentation](https://pytorch.org/docs/stable/data.html).
 
 
-## SG Datasets
+## Datasets
 
 
 SuperGradients holds common public `torch.utils.data.Dataset` implementations for various tasks:
 SuperGradients holds common public `torch.utils.data.Dataset` implementations for various tasks:
 
 
@@ -65,7 +65,7 @@ trainer.test(model=trainer.net, test_loader=test_dataloader, test_metrics_list=[
 
 
 Note that `dataloader_params` will be unpacked in the `torch.utils.data.DataLoader` constructor after setting a proper sampler if one is not explicitly set.
 Note that `dataloader_params` will be unpacked in the `torch.utils.data.DataLoader` constructor after setting a proper sampler if one is not explicitly set.
 
 
-## SG DataLoaders
+## DataLoaders
 
 
 As mentioned above, once instantiated, the `torch.utils.data.DataLoader` objects form batches.
 As mentioned above, once instantiated, the `torch.utils.data.DataLoader` objects form batches.
 Therefore- these are the objects being passed to Trainer.train(...):
 Therefore- these are the objects being passed to Trainer.train(...):
@@ -140,12 +140,11 @@ model = ...
 train_params = {...}
 train_params = {...}
 
 
 trainer.train(model=model, training_params=train_params, train_loader=train_dataloader, valid_loader=valid_dataloader)
 trainer.train(model=model, training_params=train_params, train_loader=train_dataloader, valid_loader=valid_dataloader)
-   
-   ```
+```
 
 
-### SG DataLoaders - Training with Configuration Files
+### DataLoaders - Training with Configuration Files
 
 
-If you are still getting familiar with training with configuration files, follow [this link](https://github.com/Deci-AI/super-gradients/tree/master/documentation/source).
+If you are still getting familiar with training with configuration files, follow [this link](configuration_files.md).
 
 
 Their names can reference any of the SG-predefined data loaders listed earlier.
 Their names can reference any of the SG-predefined data loaders listed earlier.
 For example, using the imagenet_resnet50_train and imagenet_resnet50_val:
 For example, using the imagenet_resnet50_train and imagenet_resnet50_val:
@@ -190,7 +189,7 @@ dataset_params:
 
 
 ```
 ```
 
 
-## Using Custom Datasets in SG
+## Using Custom Datasets
 
 
 Suppose we already have our own `torch.utils.data.Dataset` class:
 Suppose we already have our own `torch.utils.data.Dataset` class:
 ```python
 ```python
@@ -232,7 +231,7 @@ train_params = {...}
 trainer.train(model=model, training_params=train_params, train_loader=train_dataloader, valid_loader=valid_dataloader)
 trainer.train(model=model, training_params=train_params, train_loader=train_dataloader, valid_loader=valid_dataloader)
 ```
 ```
 
 
-### Using Custom Datasets in SG- Training with Configuration Files
+### Using Custom Datasets - Training with Configuration Files
 
 
 When using configuration files, for example, training using train_from_recipe (or similar, when the underlying train method that is being called is Trainer.train_from_config(...)),  In your ``my_dataset.py``, register your dataset class by decorating the class with `register_dataset`:
 When using configuration files, for example, training using train_from_recipe (or similar, when the underlying train method that is being called is Trainer.train_from_config(...)),  In your ``my_dataset.py``, register your dataset class by decorating the class with `register_dataset`:
 ```python
 ```python
Discard
Tip!

Press p or to see the previous file or, n or to see the next file