Version of Tensorflow and Python and other libraries used in the assignments of deep learning specalization

Hi,

Is there like a specific version of tensorflow and python and required libraries used in the programming assignments? is it the same version for all assignments? Can anyone please share this info? I am trying to run it locally on my laptop but there’s just a lot of errors like “‘KerasTensor’ object has no attribute ‘get_shape’” method missing. my subscription is already stopped so can’t run the scripts in Coursera anymore to check the version.

  • coursera-platform
1 Like

Dear @sbanal,

It depends on the project. If you do not have access to Coursera, you will not be able to obtain the requirements.txt file.


Keep Learning AI with DeepLearning.AI - Girijesh

@Girijesh I downloaded the assignments folder and I can’t see any requirements.txt

Yes.

Within a course, probably yes. Within a Specialization, probably not.

Most of the courses do not provide a requirements.txt file. So running the labs locally requires a lot of work (by the learner) to sort out all of the versions.

Yes, as Tom says, the versions are different between different courses and sometimes even within a given course. There are no official instructions, because there are too many possibilities for your local environment. Here’s a thread which gives some guidance about how to get started. The unfortunate thing is that operations like generating a requirements.txt file require that you be able to run in the online course environment.

1 Like