sacmehta / YNet

Y-Net: Joint Segmentation and Classification for Diagnosis of Breast Biopsy Images
https://sacmehta.github.io/YNet/
MIT License
135 stars 33 forks source link

total_paramters not found #10

Closed shubham-scisar closed 3 years ago

shubham-scisar commented 3 years ago

Getting error total_paramters not found :

File "/home/ec2-user/SageMaker/YNet-master/YNet-master/stage1/main.py", line 226, in trainValidateSegmentation
    logger.write("Parameters: %s" % (str(total_paramters)))
NameError: name 'total_paramters' is not defined

Please help.

sacmehta commented 3 years ago

There was a typo. total_parameters should be n_param

I have fixed it. Check it now.

shubham-scisar commented 3 years ago

Thanks for fixing. It was getting difficult to interpret earlier.