update of image_path in py file
Browse files- s23_openai_clip.py +2 -0
s23_openai_clip.py
CHANGED
@@ -45,6 +45,8 @@ from transformers import DistilBertModel, DistilBertConfig, DistilBertTokenizer
|
|
45 |
*A note on config and CFG: I wrote the codes with python scripts and then converted it into a Jupyter Notebook. So, in case of python scripts, config is a normal python file where I put all the hyperparameters and in the case of Jupyter Notebook, its a class defined in the beginning of the notebook to keep all the hyperparameters.*
|
46 |
"""
|
47 |
|
|
|
|
|
48 |
class CFG:
|
49 |
debug = False
|
50 |
image_path = image_path
|
|
|
45 |
*A note on config and CFG: I wrote the codes with python scripts and then converted it into a Jupyter Notebook. So, in case of python scripts, config is a normal python file where I put all the hyperparameters and in the case of Jupyter Notebook, its a class defined in the beginning of the notebook to keep all the hyperparameters.*
|
46 |
"""
|
47 |
|
48 |
+
image_path = "./Images"
|
49 |
+
|
50 |
class CFG:
|
51 |
debug = False
|
52 |
image_path = image_path
|