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

Local Python Script Installation Help #1

Closed
wwjd1234 opened this issue Jun 8, 2021 · 1 comment
Closed

Local Python Script Installation Help #1

wwjd1234 opened this issue Jun 8, 2021 · 1 comment

Comments

@wwjd1234
Copy link

wwjd1234 commented Jun 8, 2021

The docs say i need to install:

pip install tensorflow-gpu==2.4.1 keras==2.2.4 numpy==1.19.5 matplotlib==2.2.2 
scikit-image==0.15.0 tqdm

But when running the jupyter notebook everything runs fine without having to install anything. Thus, if I want to move the code to a python script how would I use:

import utils.augmentation as aug

Do I need to install a library or copy over this code to my project?
I do not need to run this on a GPU.

Is the only file I need to generate augmented data?:

augmentation.py

If only using that file then the only thing I would need to install would be the following;

pip install tqdm
@biwana
Copy link
Member

biwana commented Aug 10, 2021

The requirements are to run the full example and the code in the papers. Sorry about the miscommunication.

Yes, if all you care about is the augmentation, then all you need is numpy, tqdm, and augmentation.py.
You don't even need tqdm, that is just used to print out the progress, it can be removed.

@biwana biwana closed this as completed Aug 10, 2021
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

2 participants