Skip to content

Migrated to Python3#26

Open
tyagi-iiitv wants to merge 10 commits into
greenelab:masterfrom
tyagi-iiitv:master
Open

Migrated to Python3#26
tyagi-iiitv wants to merge 10 commits into
greenelab:masterfrom
tyagi-iiitv:master

Conversation

@tyagi-iiitv
Copy link
Copy Markdown

I migrated this project to Python3 and added a sample MNIST dataset file

Copy link
Copy Markdown
Collaborator

@gwaybio gwaybio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great @tyagi-iiitv!! Thanks for your interest in the project! Happy to continue reviewing future PRs if indeed you are interested. I am VERY interested in pushing this topic further and have thought quite extensively about project strategy 😄

Comment thread ICVL.py
from model_objects import model_parameters
from DataSetInfoAbstractClass import dataSetInfoAbstract
import cPickle
import pickle
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can remove this - doesn't look like it needs to be imported twice! (see line 17)

Comment thread MNIST.py
from model_objects import model_parameters
from DataSetInfoAbstractClass import dataSetInfoAbstract
import cPickle
import pickle
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as above

Comment thread MNIST.py
Comment on lines +63 to +66
# with open(self.training_file, "rb") as fp:
# (x_train, a_train) = cPickle.load(fp)
# with open(self.testing_file, "rb") as fp:
# (x_test, a_test) = cPickle.load(fp)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can go ahead and delete this

Comment thread main_file.py
Comment on lines +41 to +44
# if not os.path.exists(os.path.join('Data', 'Training',
# '{}_Training.pkl'.format(dataSetInfo.
# name))):
# unpackFiles(dataSetInfo.name)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete

@gwaybio
Copy link
Copy Markdown
Collaborator

gwaybio commented Jun 12, 2020

bump @tyagi-iiitv - wondering if you've given this any more thought. Feel free to ignore!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants