villawang / CatNet

CatNet: Class Incremental 3D ConvNets for Lifelong Egocentric Gesture Recognition
MIT License
12 stars 2 forks source link

about reduce cache sample setting in the train_R3D_CatNet.py #3

Open 905377598 opened 2 years ago

905377598 commented 2 years ago

How to reduce cache sample setting in the train_R3D_CatNet.py? I didn't find that parameter. Please help me where to modify. Thank you

905377598 commented 2 years ago

The command I run is python3 train_R3D_CatNet.py --is_train True --n_frames_per_clip 16 --pretrain_path models/pretrained_models/resnet-50-kinetics.pth --arch resnet-50 --model resnet --model_depth 50 --modality RGB-D --num_workers 0 --batch_size 1 However, the system will crash suddenly when running updating presentation...... what is the reason? Is it because the computer has insufficient memory? My computer has 16GB memory

905377598 commented 2 years ago

May I know your computer configuration, graphics card and memory?