o
    ^{jà	  ã                   @   sŠ   d dl Z d dlZd dlT d dlZd dlT d dlmZ d dlmZ d dl	m
Z
mZ d dlZd dlZd dlZd dlZG dd„ dƒZdd„ ZdS )	é    N)Ú*)ÚVariable)ÚDatasetÚ
DataLoaderc                   @   s   e Zd Zdd„ ZdS )Úoptc                 C   s@   dt _dt _dt _dt _dt _dt _dt _dt _d	t _	d
t _
d S )Nz=/scratch/shared/beegfs/hchen/train_data/VGGSound_final/audio/zN/scratch/shared/beegfs/hchen/prediction/audioclassification/vggsound/resnet18/zT/scratch/shared/beegfs/hchen/epoch/audioclassification_f/resnet18_vlad/model.pth.tarÚavgpoolz./data/ztest.csvé    i5  é   ÚB)r   Ú	data_pathÚresult_pathZ	summariesÚpoolZcsv_pathÚtestÚ
batch_sizeÚ	n_classesÚmodel_depthZresnet_shortcut)Úself© r   ú#/root/disk_3tb/HAC/VGGSound/test.pyÚ__init__   s   
zopt.__init__N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    r   c                  C   s
   t ƒ } | S )N)r   )Úopt1r   r   r   Úget_arguments   s   r   )ÚosÚtorchZtorch.optimÚtorchvisionZtorchvision.transformsÚtorch.nnÚnnZtorch.autogradr   Útorch.utils.datar   r   ÚnumpyÚnpÚjsonÚargparseÚcsvr   r   r   r   r   r   Ú<module>   s    