This file contains 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
file: | |
- path: 'video.mp4' | |
labels: | |
- 'label1' | |
- '@video' | |
unLabels: | |
- 'label2' | |
- path: 'a.geojson' | |
labels: | |
- '@gpstrack' |
This file contains 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
file: | |
- path: 'video.mp4' | |
labels: | |
- '@video' | |
- path: 'thumbnail.png' | |
labels: | |
- '@thumbnail' |
This file contains 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
headers = { | |
'User-Agent' : 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36', | |
'Accept' : 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', | |
'Accept-Encoding' : 'gzip', | |
'Accept-Language' : 'zh-CN,zh;q=0.8,en;q=0.6,zh-TW;q=0.4' | |
} |
This file contains 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
root@tegra-ubuntu:~/prj_qCUDA/qCUDA/test$ ./exe/cudaPointerTest 80 | |
### __cudaRegisterFatBinary at line 184 | |
FATBINC_MAGIC | |
magic= 466243b1 | |
version= 1 | |
data= 0x4016d0 | |
filename_or_fatbins= (nil) | |
### qcu_cudaRegisterFatBinary at line 224 | |
creating context for device 0 | |
Allocated 0 Kbytes |
This file contains 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
### qcu_cudaHostRegister at line 923 | |
ptr: 2e000000, size: 4194304 byte = 4 MB, flag: 0 error is: 71 | |
ptr: 32400000, size: 4194304 byte = 4 MB, flag: 0 error is: 71 | |
ptr: 32c00000, size: 4194304 byte = 4 MB, flag: 0 error is: 71 | |
ptr: 6f800000, size: 4194304 byte = 4 MB, flag: 0 error is: 71 | |
ptr: 6fc00000, size: 4194304 byte = 4 MB, flag: 0 error is: 71 | |
ptr: 70000000, size: 4194304 byte = 4 MB, flag: 0 error is: 71 | |
ptr: 70400000, size: 4194304 byte = 4 MB, flag: 0 error is: 71 | |
ptr: 70800000, size: 4194304 byte = 4 MB, flag: 0 error is: 71 |
This file contains 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
[77313.646462] Unable to handle kernel paging request at virtual address ffffffbfc0000001 | |
[77313.648840] pgd = ffffffc00859c000 | |
[77313.649760] [ffffffbfc0000001] *pgd=0000000000000000, *pud=0000000000000000 | |
[77313.651364] Internal error: Oops: 96000006 [#6] SMP | |
[77313.652464] Modules linked in: qcuda(OE) ofpart aes_ce_blk ablk_helper cryptd redboot aes_ce_cipher ghash_ce sha2_ce cmdlinepart sha1_ce cfi_cmdset_0001 cfi_probe cfi_util gen_probe physmap_of map_funcs chipreg mtd uio_pdrv_genirq rtc_pl031 uio virtio_scsi ne2k_pci 8390 | |
[77313.657938] CPU: 1 PID: 12884 Comm: bandwidthTest Tainted: G D W OE 4.2.0-18-generic #22~14.04.1-Ubuntu | |
[77313.660188] Hardware name: linux,dummy-virt (DT) | |
[77313.661205] task: ffffffc0b8a31980 ti: ffffffc008f74000 task.ti: ffffffc008f74000 | |
[77313.662890] PC is at __copy_to_user+0xc/0x60 | |
[77313.663834] LR is at gpa_to_user+0x184/0x190 [qcuda] |
This file contains 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
#!/usr/bin/env bash | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip | |
unzip rclone-current-linux-amd64.zip | |
cd rclone-*-linux-amd64/ |
This file contains 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
#!/usr/bin/env bash | |
# Jordan huang<[email protected]> | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
wget http://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh | |
bash Anaconda3-5.0.1-Linux-x86_64.sh | |
conda update conda |
This file contains 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
#!/usr/bin/env bash | |
# Jordan huang<[email protected]> | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
# For yadm | |
sudo apt-get update -y | |
sudo apt-get install -y software-properties-common |
This file contains 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
def testAnswer_to_df(json_str): | |
row = [] | |
for i in range(len(data)): | |
member_id = data[i]['memberid'] | |
if 'listen_score' in data[i]: | |
score_ary = data[i]['listen_score']['score_ary'] if 'score_ary' in data[i]['listen_score'] else np.nan | |
avg = data[i]['listen_score']['average'] if 'average' in data[i]['listen_score'] else np.nan | |
answer_ary = data[i]['listen_score']['answer_ary'] if 'answer_ary' in data[i]['listen_score'] else np.nan | |
else: | |
score_ary = np.nan |
NewerOlder