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

guidance_config_example.json #9

Open
rezkanas opened this issue Feb 12, 2024 · 0 comments
Open

guidance_config_example.json #9

rezkanas opened this issue Feb 12, 2024 · 0 comments

Comments

@rezkanas
Copy link

rezkanas commented Feb 12, 2024

Hi
Thank you for the amazing work you have done, hopefully I can use it for my thesis. I am looking forward to try it out myself, for that, I have so far 4 questions:
1 - how long do I need to get each embedding for one concept?
2- I will be using faces photos to training on, do you encourage me to lower lr to 1e-6 and use higher max_train_steps, i.e. 5000. other recommended settings?
3- instant_prompt shall only include the identifier as per the example or should I use the usual 'a photo of rzk person'?
4 - the json example file you provided 'guidance_config_example.json' file is not working. can you check it out please? I am receive the following error message.

JSONDecodeError: Expecting value: line 7 column 1 (char 6)

when running

import json
 
# Opening JSON file
with open('/mnt/c/Users/noobw/PycharmProjects/pythonProject/thesis/cones_v2/embeddings/guidance_config_example.json', 'r') as openfile:
     # json_object = json.loads(openfile.read())
     # Reading from json file
    json_object = json.load(openfile)
 
print(json_object)
print(type(json_object))

@Johanan528

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant