This a collection of tips and feedbacks for COMP2710 Software Construction Spring 2018.

This file contains hidden or 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
import logging | |
import logging.config | |
from datetime import datetime | |
import os | |
import sys | |
LOGFILE = '/tmp/{0}.{1}.log'.format( | |
os.path.basename(__file__), | |
datetime.now().strftime('%Y%m%dT%H%M%S')) |
This file contains hidden or 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
from functools import partial | |
def foo(self, inp, out, name=''): | |
log.debug('layer name {}'.format(name)) | |
log.debug('input size {}'.format(inp[0].size())) | |
log.debug('output size {}'.format(out[0].size())) | |
bar = partial(foo, name='Conv2d_1a_3x3') |
This gist contains all the grading script for COMP2710 2019 Spring session.
OlderNewer