images are in a single folder
import os
import pandas as pd
from tqdm import tqdm
from shutil import copy,move
os.mkdir('Train')
os.mkdir('Train/1')
os.mkdir('Train/2')
os.mkdir('Train/3')
os.mkdir('Train/4')
os.mkdir('Train/5')
os.mkdir('Train/6')
os.mkdir('Train/7')
Data = pd.read_csv('Train.csv')
a = Data['UID']
name = Data['growth_stage']
for i in tqdm.tqdm(range(len(a))):
val_folds = os.path.join('Images/',str(a[i]) + '.jpeg')
copy(val_folds,os.path.join('Train',str(name[i])))
thanks for your code but this code for i in tqdm.tqdm(range(len(a))): getting an error there is no attribute tqdm.tqdm
Why did you create a separate folder for each growth stage?
just replace from tqdm import tqdm with import tqdm
I did it because by doing thaat i can see that the images are not properly labelled or not
and i want to ask one thing more that if anyone want to team up with me we can team up and approach towards this problem
I am interested in teaming up with you.
the most irriatating data which i have ever found beacuse the images are not properly labelled
import os
import pandas as pd
from tqdm import tqdm
from shutil import copy,move
os.mkdir('Train')
os.mkdir('Train/1')
os.mkdir('Train/2')
os.mkdir('Train/3')
os.mkdir('Train/4')
os.mkdir('Train/5')
os.mkdir('Train/6')
os.mkdir('Train/7')
Data = pd.read_csv('Train.csv')
a = Data['UID']
name = Data['growth_stage']
for i in tqdm.tqdm(range(len(a))):
val_folds = os.path.join('Images/',str(a[i]) + '.jpeg')
copy(val_folds,os.path.join('Train',str(name[i])))
thanks for your code but this code for i in tqdm.tqdm(range(len(a))): getting an error there is no attribute tqdm.tqdm
Why did you create a separate folder for each growth stage?
just replace from tqdm import tqdm with import tqdm
I did it because by doing thaat i can see that the images are not properly labelled or not
and i want to ask one thing more that if anyone want to team up with me we can team up and approach towards this problem
I am interested in teaming up with you.
the most irriatating data which i have ever found beacuse the images are not properly labelled