Skip to content

Commit 6a4486e

Browse files
committed
Fix running on Edge Impulse?
1 parent 57b1b9e commit 6a4486e

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

dependencies/install_cuda.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ cp /tmp/cuda-nvcc/usr/local/cuda-${cuda_short}/bin/ptxas \
2828
cp /tmp/cuda-nvvm/usr/local/cuda-${cuda_short}/nvvm/libdevice/libdevice.10.bc \
2929
/usr/local/cuda-${cuda_short}/nvvm/libdevice/
3030

31-
rm -f /usr/lib/x86_64-linux-gnu/libcudnn_engines_precompiled.so*
3231
rm -rf /tmp/cuda-nvvm /tmp/cuda-nvcc \
3332
cuda-nvvm-${cuda_package_version}_*.deb cuda-nvcc-${cuda_package_version}_*.deb \
3433
/usr/share/doc/* /usr/share/man/* /usr/share/locale/*

shared/training.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ def get_callbacks(dir_path, is_enterprise_project, max_training_time_s, max_gpu_
1616

1717
if enable_tensorboard:
1818
tb_callback = tf.keras.callbacks.TensorBoard(log_dir=os.path.join(dir_path, 'tensorboard_logs'),
19-
# Profile batches 1-100
20-
profile_batch=(1,101))
19+
profile_batch=0)
2120
callbacks.append(tb_callback)
2221

2322
return callbacks

0 commit comments

Comments
 (0)