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

action_name_path = "./UCF101actions.pkl" for action_names #28

Open
sunruina2 opened this issue Jun 16, 2020 · 1 comment
Open

action_name_path = "./UCF101actions.pkl" for action_names #28

sunruina2 opened this issue Jun 16, 2020 · 1 comment

Comments

@sunruina2
Copy link

sunruina2 commented Jun 16, 2020

action_names = ['ParallelBars', 'BalanceBeam', 'MilitaryParade', 'YoYo', 'BoxingPunchingBag', 'Punch', 'TennisSwing', 'SumoWrestling', 'HammerThrow', 'WalkingWithDog', 'PlayingPiano', 'HulaHoop', 'ApplyEyeMakeup', 'CuttingInKitchen', 'RockClimbingIndoor', 'ShavingBeard', 'TaiChi', 'BasketballDunk', 'TrampolineJumping', 'BreastStroke', 'UnevenBars', 'GolfSwing', 'Surfing', 'Kayaking', 'CleanAndJerk', 'Billiards', 'FrisbeeCatch', 'BodyWeightSquats', 'HeadMassage', 'PlayingDaf', 'PlayingCello', 'PommelHorse', 'BabyCrawling', 'PlayingDhol', 'Rafting', 'Basketball', 'ThrowDiscus', 'SalsaSpin', 'Shotput', 'PullUps', 'BrushingTeeth', 'BandMarching', 'Drumming', 'JumpingJack', 'SoccerPenalty', 'PlayingTabla', 'Typing', 'PlayingGuitar', 'Hammering', 'Skiing', 'BaseballPitch', 'HighJump', 'Lunges', 'Nunchucks', 'CliffDiving', 'SoccerJuggling', 'BlowingCandles', 'HorseRiding', 'PoleVault', 'Knitting', 'PlayingFlute', 'PlayingSitar', 'FieldHockeyPenalty', 'Archery', 'JugglingBalls', 'StillRings', 'HandstandPushups', 'Biking', 'Diving', 'IceDancing', 'BoxingSpeedBag', 'PizzaTossing', 'BlowDryHair', 'WritingOnBoard', 'HorseRace', 'JavelinThrow', 'CricketBowling', 'LongJump', 'CricketShot', 'JumpRope', 'WallPushups', 'HandstandWalking', 'Skijet', 'MoppingFloor', 'PushUps', 'TableTennisShot', 'Rowing', 'Fencing', 'FrontCrawl', 'BenchPress', 'Mixing', 'Swing', 'SkateBoarding', 'SkyDiving', 'VolleyballSpiking', 'PlayingViolin', 'ApplyLipstick', 'Haircut', 'FloorGymnastics', 'Bowling', 'RopeClimbing']

@sunruina2
Copy link
Author

sampls_lst = os.listdir(data_path)
sampls_lst_y = []
for i in sampls_lst:
info = i.split('_')
if len(info) >= 2:
sampls_lst_y.append(info[1])
else:
print(info)
action_names = list(set(sampls_lst_y))
print(len(action_names), action_names)

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