Skip to content

Commit

Permalink
modify python source code example (#233)
Browse files Browse the repository at this point in the history
* modify python source code example

* Added a break line after import

---------

Co-authored-by: Sanjana <[email protected]>
  • Loading branch information
developer0hye and sanjanag authored Nov 10, 2023
1 parent 969b6a9 commit 2814ed8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ wget -nc 'https://cleanlab-public.s3.amazonaws.com/CleanVision/image_files.zip'
```python
from cleanvision import Imagelab

# Specify path to folder containing the image files in your dataset
imagelab = Imagelab(data_path="FOLDER_WITH_IMAGES/")

# Automatically check for a predefined list of issues within your dataset
imagelab.find_issues()

# Produce a neat report of the issues found in your dataset
imagelab.report()
if __name__ == '__main__':
# Specify path to folder containing the image files in your dataset
imagelab = Imagelab(data_path="FOLDER_WITH_IMAGES/")

# Automatically check for a predefined list of issues within your dataset
imagelab.find_issues()

# Produce a neat report of the issues found in your dataset
imagelab.report()
```

2. CleanVision diagnoses many types of issues, but you can also check for only specific issues.
Expand Down

0 comments on commit 2814ed8

Please sign in to comment.