module 'Houseweb.views' has no attribute 'tf_train'

The same problem
Same problem. I tried simply downgrading torch to 1.7.1 works for me.
(To install older version, see: https://pytorch.org/get-started/previous-versions/)
Same problem. I tried simply downgrading torch to 1.7.1,1.6.0,1.5.1 etc But not worked for me.
`def Init(request): start = time.clock() getTestData() getTrainData() loadMatlabEng() loadModel() loadRetrieval() end = time.clock() print('Init(model+test+train+engine+retrieval) time: %s Seconds' % (end - start))
return HttpResponse(None)`
getTestData time: 0.3982627999999977 Seconds getTrainData time: 3.0307052 Seconds matlab.engineview time: 416.412544 Seconds loadModel time: 2.5661660000000666 Seconds
#we're supposed to wait for some time before it initializes