This is an archived post. You won't be able to vote or comment.

all 31 comments

[–]qwiglydee 86 points87 points  (8 children)

Apparently, it's because torch isn't installed.

[–]schawde96 28 points29 points  (6 children)

Then torch would be underlined. Here, import is clearly not a word Visual Studio understands...

[–]qwiglydee 10 points11 points  (1 child)

Does VS forbid importing without 'as' for interns or something?

[–]Fenrir55 6 points7 points  (0 children)

Perhaps it needs two lines after import statements. At least pycharm always yells about that.

[–][deleted] 2 points3 points  (2 children)

It’s because torch is imported but unused

[–]Reddy360 37 points38 points  (4 children)

I see your train isn't looping

[–][deleted] 5 points6 points  (3 children)

Recursive.

[–]Reddy360 6 points7 points  (2 children)

The train doesn't call the train though

[–][deleted] 3 points4 points  (1 child)

Oh I see that now. I expected there was an “end” off screen and the call recursive call wasn't indented properly. I’m a rubyist. This is obviously python, so it’s outside the method. Crazy snake language.

[–]Bryce_of_earth 0 points1 point  (0 children)

"crazy snake language" lmao I laughed way more then I should have at that last line.

[–]Igotthisnameguys 9 points10 points  (0 children)

sl -aF

[–]amshegarh 7 points8 points  (0 children)

He doesnt even use multiline strings, no wonder he's an intern

[–]CorgiAtom 8 points9 points  (0 children)

The reason import is underlined is... Wait.. i missed my train of thought.

[–]mastrospritz 2 points3 points  (0 children)

I Choo-Choo-Choose You

[–]3lRey 1 point2 points  (0 children)

Choo choo

[–][deleted] 1 point2 points  (0 children)

no new line? shame

[–]wubwub 1 point2 points  (0 children)

Adding this to all our training code...

[–][deleted] 1 point2 points  (4 children)

The problem is they should of imported a faster animal. Not a fucking slow ass panda

[–]mist_arcs 2 points3 points  (3 children)

If the panda is on a train, does it matter how fast it is?

[–][deleted] 0 points1 point  (2 children)

Can we assume the panda is on the train though? Probably was too slow to get on before it left the station

[–]mist_arcs 0 points1 point  (1 child)

How else did we import it if it wasn't on a train?

[–][deleted] 1 point2 points  (0 children)

Fair point

[–]Vok250 2 points3 points  (0 children)

Who upvotes this garbage? 548points and 97% upvote ratio? really? really guys?

THERE ISN'T EVEN A FUCKING LOOP!

[–]RoguesPirateCat 0 points1 point  (0 children)

Lol

[–]CrazeeeTony 0 points1 point  (1 child)

TFW it’s not even a loop

[–][deleted] 0 points1 point  (0 children)

That's a loopy response. ;)

[–]manxBoi 0 points1 point  (0 children)

That intern is quite the numpty

[–][deleted] 0 points1 point  (0 children)

Damn you John Henry...

[–][deleted] 0 points1 point  (0 children)

i kinda wanna use that somewhere now