Skip to content

Instantly share code, notes, and snippets.

View mulder-phenos's full-sized avatar

phenos-mulder mulder-phenos

View GitHub Profile
@mulder-phenos
mulder-phenos / bootstrap.javascript.md
Created March 21, 2023 06:21
bootstrap javascript

bootstrap javascript

  const myModal = document.querySelector('#myModal')
  myModal.addEventListener('show.bs.modal', event => {
    if (!data) {
      return event.preventDefault() // stops modal from being shown
    }
  })
  //

mode log

Namespace(batch=128, cuda=True, lr=0.0001, mode='train', model_name='backup-model.pth', num_classes=2, num_epochs=11, prediction_file='prediction.txt', print_iter=10)
Darknet53(
  (conv1): Sequential(
    (0): Conv2d(3, 32, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False)
    (1): BatchNorm2d(32, eps=1e-05, momentum=0.1, affine=True, track_running_stats=True)
    (2): LeakyReLU(negative_slope=0.01)
  )