This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # An improvement over the dataparallel implementation here https://github.com/pytorch/audio/blob/main/examples/pipeline_wavernn/main.py | |
| from functools import partial | |
| import argparse | |
| import logging | |
| import os | |
| from collections import defaultdict | |
| from datetime import datetime | |
| from time import time | |
| from typing import List |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from __future__ import print_function | |
| from PIL import Image | |
| import os | |
| import os.path | |
| import glob | |
| import numpy as np | |
| import sys | |
| from scipy.ndimage import imread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* b01902066 ?????? */ | |
| #include <unistd.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <errno.h> | |
| #include <sys/socket.h> | |
| #include <fcntl.h> | |
| #include <netinet/in.h> |