• cut head paste


    #cut -d"," -f84 yolov4_training_log_cspdarknet53.csv

    #cut -d"," -f1,84 yolov4_training_log_cspdarknet53.csv 

    # cut -d'"' -f4,10 data/an4_converted/test_manifest.json |head -10 | cut -d'"' -f1 |paste
    ./data/an4_converted/wavs/an406-fcaw-b.wav
    ./data/an4_converted/wavs/an407-fcaw-b.wav
    ./data/an4_converted/wavs/an408-fcaw-b.wav
    ./data/an4_converted/wavs/an409-fcaw-b.wav
    ./data/an4_converted/wavs/an410-fcaw-b.wav
    ./data/an4_converted/wavs/cen1-fcaw-b.wav
    ./data/an4_converted/wavs/cen2-fcaw-b.wav
    ./data/an4_converted/wavs/cen3-fcaw-b.wav
    ./data/an4_converted/wavs/cen4-fcaw-b.wav
    ./data/an4_converted/wavs/cen5-fcaw-b.wav

    # cut -d'"' -f4,10 data/an4_converted/test_manifest.json |head -10 | cut -d'"' -f1 |paste -s -d"," -
    ./data/an4_converted/wavs/an406-fcaw-b.wav,./data/an4_converted/wavs/an407-fcaw-b.wav,./data/an4_converted/wavs/an408-fcaw-b.wav,./data/an4_converted/wavs/an409-fcaw-b.wav,./data/an4_converted/wavs/an410-fcaw-b.wav,./data/an4_converted/wavs/cen1-fcaw-b.wav,./data/an4_converted/wavs/cen2-fcaw-b.wav,./data/an4_converted/wavs/cen3-fcaw-b.wav,./data/an4_converted/wavs/cen4-fcaw-b.wav,./data/an4_converted/wavs/cen5-fcaw-b.wav

    # cat data/an4_converted/test_manifest.json |head -10
    {"audio_filepath": "./data/an4_converted/wavs/an406-fcaw-b.wav", "duration": 4.0, "text": "rubout g m e f three nine"}
    {"audio_filepath": "./data/an4_converted/wavs/an407-fcaw-b.wav", "duration": 4.1, "text": "erase c q q f seven"}
    {"audio_filepath": "./data/an4_converted/wavs/an408-fcaw-b.wav", "duration": 3.3, "text": "b a o z five three"}
    {"audio_filepath": "./data/an4_converted/wavs/an409-fcaw-b.wav", "duration": 0.8, "text": "go"}
    {"audio_filepath": "./data/an4_converted/wavs/an410-fcaw-b.wav", "duration": 3.6, "text": "rubout n i m n one"}
    {"audio_filepath": "./data/an4_converted/wavs/cen1-fcaw-b.wav", "duration": 2.3, "text": "w o o d"}
    {"audio_filepath": "./data/an4_converted/wavs/cen2-fcaw-b.wav", "duration": 2.9, "text": "c i n d y"}
    {"audio_filepath": "./data/an4_converted/wavs/cen3-fcaw-b.wav", "duration": 1.9, "text": "one three seven"}
    {"audio_filepath": "./data/an4_converted/wavs/cen4-fcaw-b.wav", "duration": 3.0, "text": "m e l v i n"}
    {"audio_filepath": "./data/an4_converted/wavs/cen5-fcaw-b.wav", "duration": 6.2, "text": "p l e a s a n t h i l l s"}

  • 相关阅读:
    python把汉字转换成拼音实现程序
    C#第三方zip解压压缩工具,带事例源码
    实现在线压缩文件的实现程序代码
    如何处理JSON中的特殊字符
    《汉字简体、繁体相互转换》 查看源代码
    中文字符转拼音源码
    upper_bound()函数使用方法
    CodeFroces New Assignment 二分图匹配
    选拔赛 hash 字符串匹配 哈希算法(白书p374)
    lower_bound()函数使用
  • 原文地址:https://www.cnblogs.com/morganh/p/15853517.html
Copyright © 2020-2023  润新知